Skip to content

Commit

Permalink
Update CI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorzz authored May 7, 2024
1 parent 8d43c61 commit 2b2cbb2
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ jobs:

steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4.1.5

- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3.3.2

build:
runs-on: ubuntu-latest
needs: gradleValidation
name: Build
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4.1.5

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4.2.1
with:
distribution: 'adopt'
java-version: 11

# Cache Gradle dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}

# Cache Gradle Wrapper
- name: Setup Gradle Wrapper Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -52,24 +52,24 @@ jobs:
needs: build
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4.1.5

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4.2.1
with:
distribution: 'adopt'
java-version: 11

# Cache Gradle dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}

# Cache Gradle Wrapper
- name: Setup Gradle Wrapper Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -83,24 +83,24 @@ jobs:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && !contains(github.event.commits[0].message, '[skip ci]')
steps:
- name: Fetch Sources
uses: actions/checkout@v2
uses: actions/checkout@v4.1.5

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4.2.1
with:
distribution: 'adopt'
java-version: 11

# Cache Gradle dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}

# Cache Gradle Wrapper
- name: Setup Gradle Wrapper Cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -109,7 +109,7 @@ jobs:
run: ./gradlew dokkaHtml

- name: Deploy Docs to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@4.6.0
with:
branch: gh-pages
folder: build/dokka/html
folder: build/dokka/html

0 comments on commit 2b2cbb2

Please sign in to comment.