Skip to content

Publish package to GitHub Packages #10

Publish package to GitHub Packages

Publish package to GitHub Packages #10

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Publish package
run: |
cd $GITHUB_WORKSPACE/arm-parent
mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}