chore: update input vars
Some checks failed
release / Release (push) Failing after 18s

This commit is contained in:
Oliver Weyhmüller 2025-01-07 11:58:38 +01:00
parent 70924fbdca
commit 52e6eb93a8
Signed by: oliver
GPG key ID: 5286794099F934A3
2 changed files with 22 additions and 22 deletions

View file

@ -18,13 +18,13 @@ jobs:
with:
fetch-depth: 0
- name: Initialize Environment
uses: https://w9r.dev/w9r.dev/action-setup-environment@v1
- name: "Initialize Environment"
uses: https://w9r.dev/w9r.dev/action-setup-environment@v1.0.4
with:
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}
roleid: ${{ secrets.VAULT_ROLE_ID }}
secretid: ${{ secrets.VAULT_SECRET_ID }}
- name: Determine next version
- name: "Determine next version"
uses: https://github.com/obfu5c8/action-svu@v1
id: generate_next_version
with:
@ -37,7 +37,7 @@ jobs:
prefix: ''
suffix: ''
- name: Set new version
- name: "Set new version"
env:
MAVEN_USERNAME: ${{ env.NEXUS_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ env.NEXUS_PASSWORD }}
@ -48,7 +48,7 @@ jobs:
echo "New version: $NEW_VERSION"
mvn -B --file pom.xml versions:set -DnewVersion=${{ env.NEW_VERSION }}
- name: Run JReleaser (Changelog)
- name: "Run JReleaser (Changelog)"
uses: https://w9r.dev/actions/release-action@main
with:
arguments: changelog --debug
@ -62,7 +62,7 @@ jobs:
JRELEASER_GPG_PUBLIC_KEY: ${{ env.GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ env.GPG_PRIVATE_KEY }}
- name: Commit and push changes
- name: "Commit and push changes"
run: |
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
@ -76,7 +76,7 @@ jobs:
mvn --file pom.xml -Ppublication
- name: Run JReleaser (Assemble)
- name: "Run JReleaser (Assemble)"
uses: https://w9r.dev/actions/release-action@main
with:
arguments: assemble --debug
@ -90,7 +90,7 @@ jobs:
JRELEASER_GPG_PUBLIC_KEY: ${{ env.GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ env.GPG_PRIVATE_KEY }}
- name: Run JReleaser (Release)
- name: "Run JReleaser (Release)"
uses: https://w9r.dev/actions/release-action@main
with:
arguments: release --debug

View file

@ -10,7 +10,7 @@ on:
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
name: "SonarQube Trigger"
runs-on: ubuntu-latest
steps:
@ -19,21 +19,21 @@ jobs:
with:
fetch-depth: 0
- name: Initialize Environment
uses: https://w9r.dev/w9r.dev/action-setup-environment@v1
- name: "Initialize Environment"
uses: https://w9r.dev/w9r.dev/action-setup-environment@v1.0.4
with:
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}
roleid: "${{ secrets.VAULT_ROLE_ID }}"
secretid: "${{ secrets.VAULT_SECRET_ID }}"
- name: Cache SonarQube packages
- name: "Cache SonarQube packages"
uses: https://github.com/actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
key: ""${{ runner.os }}-sonar"
restore-keys: ""${{ runner.os }}-sonar"
- name: SonarQube Scan
- name: "SonarQube Scan"
env:
SONAR_TOKEN: ${{ env.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ env.SONARQUBE_HOST }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
SONAR_TOKEN: "${{ env.SONARQUBE_TOKEN }}"
SONAR_HOST_URL: "${{ env.SONARQUBE_HOST }}"
run: "mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"