We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7524a commit 65bf7b6Copy full SHA for 65bf7b6
1 file changed
.github/workflows/publish.yml
@@ -7,7 +7,7 @@ on:
7
workflow_dispatch:
8
9
permissions:
10
- contents: read
+ contents: write # Changed from 'read' to 'write' - needed for creating releases
11
packages: write
12
13
jobs:
@@ -30,7 +30,7 @@ jobs:
30
echo "Publishing version: $VERSION"
31
32
- name: Update pom.xml version
33
- run: mvn versions:set -DnewVersion=${{ steps.version.outputs.VERSION }}
+ run: mvn versions:set -DnewVersion=${{ steps.version.outputs.VERSION }} -DgenerateBackupPoms=false
34
35
- name: Set up JDK 17
36
uses: actions/setup-java@v4
@@ -46,7 +46,7 @@ jobs:
46
run: mvn --batch-mode clean package
47
48
- name: Publish to GitHub Packages
49
- run: mvn --batch-mode deploy
+ run: mvn --batch-mode deploy -DskipTests
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
0 commit comments