Skip to content

Commit

Permalink
Deploy snapshot to github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
spannm committed Feb 24, 2024
1 parent b4e1abb commit cd3fe16
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci_jdk11_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy snapshot to Sonatype
- name: Setup
uses: actions/setup-java@v3
with:
# must match distributionManagement/snapshotRepository/id in pom:
server-id: sonatype-nexus-snapshots
server-username: SONATYPE_OSSRH_USERNAME
server-password: SONATYPE_OSSRH_PASSWORD
- name: Deploy snapshot to Sonatype
run: mvn --batch-mode --file pom.xml --activate-profiles fast deploy
env:
SONATYPE_OSSRH_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
Expand All @@ -45,9 +47,11 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy snapshot to Github packages
- name: Setup
uses: actions/setup-java@v3
with:
server-id: github-jackcess
server-username: SONATYPE_OSSRH_USERNAME
server-password: SONATYPE_OSSRH_PASSWORD
- name: Deploy snapshot to Github packages
run: mvn --batch-mode --file pom.xml --activate-profiles fast,github-deploy-snapshot-package deploy

0 comments on commit cd3fe16

Please sign in to comment.