Skip to content

Commit

Permalink
Upgrade Github actions in build pipeline
Browse files Browse the repository at this point in the history
* checkout@v4
* setup-java@v4
* [email protected]
* action-gh-release@v2
  • Loading branch information
christopherfrieler committed Oct 28, 2024
1 parent 03d6812 commit 70b9577
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Configure Sonar-Analysis
run: |
. ./.github/configureSonarAnalysis.sh
- name: Build and check library
uses: christopherfrieler/gradle-wrapper-action@0.3.0
uses: christopherfrieler/gradle-wrapper-action@0.4.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
Expand All @@ -35,8 +35,8 @@ jobs:
needs: ['build']
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
Expand All @@ -46,7 +46,7 @@ jobs:
SIGNING_KEY_BASE64: ${{ secrets.SIGNING_KEY_BASE64 }}
run: echo $SIGNING_KEY_BASE64 | base64 -d > "$SIGNING_KEY_ID.gpg"
- name: Deploy to mavencentral
uses: christopherfrieler/gradle-wrapper-action@0.3.0
uses: christopherfrieler/gradle-wrapper-action@0.4.0
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
Expand All @@ -56,7 +56,7 @@ jobs:
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
- name: Prepare release info
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref }}
Expand Down

0 comments on commit 70b9577

Please sign in to comment.