Skip to content

Commit

Permalink
chore(ci): upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Sep 23, 2023
1 parent f29b2c6 commit 30567f7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
Expand All @@ -21,12 +21,12 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- name: Upload library artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: lib
path: lib/build/outputs/aar
- name: Upload APKs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: apks
path: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
Expand All @@ -24,8 +24,8 @@ jobs:
run: ./gradlew dokkaHtml
- name: Deploy API documentation to Github Pages
if: ${{github.event_name == 'push'}}
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: lib/build/dokka/html
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: lib/build/dokka/html
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
Expand All @@ -23,8 +23,6 @@ jobs:
git config --global user.email "<>"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Decode the secret key
run: echo $GPG_KEYRING_FILE_CONTENT | base64 --decode > ~/secring.gpg
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
instrumented-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
Expand Down

0 comments on commit 30567f7

Please sign in to comment.