Skip to content

Commit

Permalink
chore(CI): GitLab Actions versions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
stritti committed May 21, 2024
1 parent d6b2098 commit b529108
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 18
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '18'
distribution: 'temurin'
cache: gradle
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: -Pversion=${{ github.event.release.tag_name || '1.0-SNAPSHOT' }} build
- name: Run Tests
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: test integrationTest
- name: Archive test report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Test report
path: build/reports/tests/test
- name: Publish with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: -Pversion=${{ github.event.release.tag_name || '1.0-SNAPSHOT' }} publish
env:
Expand Down

0 comments on commit b529108

Please sign in to comment.