Skip to content

Publish package to GitHub Packages #8

Publish package to GitHub Packages

Publish package to GitHub Packages #8

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Maven Install
run: |
mvn install -P dev
cd /home/runner/.m2/repository/com/github/l21s/keycloak-eid-identity-provider/0.1.0
ls
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Publish package
run: mvn --batch-mode deploy -P dev -X
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}