Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
test of the publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelvazquez committed Aug 28, 2023
1 parent b7537fa commit d3b1803
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
name: Publish Maven artifact to GitHub Packages

name: Publish package to GitHub Packages
on:
release:
tags:
- 'v*'
workflow_dispatch:

types: [created]
jobs:

publish:

runs-on: ubuntu-latest
permissions:
packages: write
contents: read
packages: write
steps:

- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

distribution: 'temurin'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d3b1803

Please sign in to comment.