Skip to content

Commit

Permalink
chore(ci): update github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Sep 20, 2023
1 parent fd894e5 commit f16a3ef
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Cache Gradle packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand All @@ -23,7 +24,7 @@ jobs:
- name: Build deployment artifacts
run: ./gradlew deploy
- name: Upload jars as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: software-challenge-backend-${{ github.sha }}
path: |
Expand All @@ -34,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: software-challenge-backend-${{ github.sha }}
path: artifacts
Expand All @@ -43,4 +44,4 @@ jobs:
with:
files: artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f16a3ef

Please sign in to comment.