Skip to content

Commit

Permalink
chore(ci): Updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Oct 25, 2023
1 parent 33102b0 commit f1fb620
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:

jobs:
deploy-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout code
- uses: burrunan/gradle-cache-action@v1
name: Deploy Release
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-java@v1
- uses: actions/setup-java@v2
with:
java-version: 11
distribution: zulu

- name: Build docs
run: ./gradlew --no-daemon dokkaHtml

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/dokka/html # The folder the action should deploy.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout code
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 17
distribution: zulu
- uses: burrunan/gradle-cache-action@v1
name: Build and test
env:
Expand Down

0 comments on commit f1fb620

Please sign in to comment.