Skip to content

Commit

Permalink
Deploy snapshots to repo.spring.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Mar 12, 2024
1 parent 575deaa commit 2f7618f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: ./mvnw --no-transfer-progress --batch-mode --update-snapshots -DaltDeploymentRepository=local::file:/tmp/maven-repo/ deploy
run: ./mvnw --no-transfer-progress --batch-mode --update-snapshots -DaltDeploymentRepository=local::file:./maven-repo/ deploy -DskipTests

- name: Deploy
uses: spring-io/artifactory-deploy-action@90d28f97f3e3735888ffa8648828d5f2f1b1ad21
Expand All @@ -33,6 +33,6 @@ jobs:
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
build-name: ${{ format('initializr-{0}', github.ref_name)}}
repository: 'libs-snapshot-local'
folder: '/tmp/maven-repo/io/spring/initializr/'
folder: './maven-repo/'
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}

0 comments on commit 2f7618f

Please sign in to comment.