Skip to content

Commit

Permalink
update github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Quillraven committed Apr 2, 2024
1 parent 1a906be commit ffcd391
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2

- name: Cache Kotlin Konan
id: cache-kotlin-konan
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.konan/**/*
key: kotlin-konan-${{ runner.os }}

- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v3
with:
gradle-home-cache-cleanup: true
arguments: build --stacktrace
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2

- name: Cache Kotlin Konan
id: cache-kotlin-konan
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.konan/**/*
key: kotlin-konan-${{ runner.os }}

- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v3
with:
gradle-home-cache-cleanup: true
arguments: publish --no-configuration-cache --no-parallel
Expand Down

0 comments on commit ffcd391

Please sign in to comment.