Skip to content

Commit

Permalink
Merge pull request #5607 from duncdrum/fix-snapshot-deploy
Browse files Browse the repository at this point in the history
[fix] snapshot CI config
  • Loading branch information
dizzzz authored Jan 13, 2025
2 parents 9e32eca + 3cc373f commit b298d63
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ jobs:
with:
distribution: liberica
java-version: '17'
server-id: github
settings-path: ${{ github.workspace }}
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: deploy-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: deploy-${{ runner.os }}-maven
- name: Deploy SNAPSHOT maven artefacts
run: mvn -V -B -q -DskipTests -Ddependency-check.skip=true -P !mac-dmg-on-unix,!installer,!concurrency-stress-tests,!micro-benchmarks,skip-build-dist-archives clean deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn -V -B -q -DskipTests -Ddependency-check.skip=true \
-s $GITHUB_WORKSPACE/settings.xml \
-P !mac-dmg-on-unix,!installer,!concurrency-stress-tests,!micro-benchmarks,skip-build-dist-archives \
clean deploy

0 comments on commit b298d63

Please sign in to comment.