Skip to content

Commit

Permalink
chore(ci): upgrade actions version and upgrade Java
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Jan 2, 2024
1 parent 7aba27b commit 17cdedd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '12'
java-version: '18'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-from-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Create draft release if needed
uses: apivideo/api.video-release-from-changelog-action@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '12'
java-version: '18'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/update-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,14 @@ on:
types: [published]

jobs:
update-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update readme.io documentation
uses: apivideo/api.video-readmeio-document-sync-action@1.2
with:
document-slug: apivideo-android-kotlin-livestream-module
markdown-file-path: README.md
readme-io-api-key: ${{ secrets.README_IO_API_KEY }}
make-relative-links-absolute: true
update-api-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 12
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '12'
java-version: '18'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down

0 comments on commit 17cdedd

Please sign in to comment.