Skip to content

Commit

Permalink
Release with Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
Bock4Soft committed Jul 7, 2024
1 parent 89665e6 commit 43a88a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
node-version: 14.x
registry-url: "https://npm.pkg.github.com"
scope: "@dipa-projekt"
- name: Build & Analyze with Maven
run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml
- name: Release with Maven
run: mvn -s .mvn/settings.xml -B -DreleaseVersion=${{ github.event.inputs.release_version }} gitflow:release --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .mvn/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<server>
<id>github</id>
<username>${env.GIT_HUB_USERNAME}</username>
<password>${env.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE}</password>
<password>${env.GIT_HUB_PACKAGES_ACCESS_TOKEN}</password>
</server>
<server>
<id>github-packages</id>
Expand Down

0 comments on commit 43a88a6

Please sign in to comment.