Skip to content

Commit 95efa90

Browse files
committed
Do not install on build agent
1 parent 5f32ad1 commit 95efa90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Continuous.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
name: Package
3636
path: staging
3737
- name: Publish package
38-
run: mvn deploy --no-transfer-progress
38+
run: mvn deploy -Dmaven.install.skip=true --no-transfer-progress
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Update version in pom.xml
2121
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false
2222
- name: Publish package
23-
run: mvn deploy -P publish --no-transfer-progress
23+
run: mvn deploy -P publish -Dmaven.install.skip=true --no-transfer-progress
2424
env:
2525
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
2626
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

0 commit comments

Comments
 (0)