From 17cdedd64d6fac0b05233fd1fe33616cb2b47f74 Mon Sep 17 00:00:00 2001 From: ThibaultBee <37510686+ThibaultBee@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:08:29 +0100 Subject: [PATCH] chore(ci): upgrade actions version and upgrade Java --- .github/workflows/build.yml | 4 ++-- .../workflows/create-release-from-changelog.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/update-documentation.yml | 17 +++-------------- 4 files changed, 8 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b10c0e1..1c0cd38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/create-release-from-changelog.yml b/.github/workflows/create-release-from-changelog.yml index b34f961..767f4f2 100644 --- a/.github/workflows/create-release-from-changelog.yml +++ b/.github/workflows/create-release-from-changelog.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1620fe..6c764c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 0fe8a53..37e403d 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -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