From cb617c11ff52e25ebeb0100b3cf390852deb3c8d Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 12 Mar 2024 12:38:07 -0400 Subject: [PATCH] ci: update actions --- .github/workflows/CI.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8b77aef8..b1b2b809 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,11 +6,11 @@ jobs: windows: runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.m2/repository @@ -19,7 +19,7 @@ jobs: ${{ runner.os }}-cache- - run: choco install innosetup --version 6.2.2 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: temurin @@ -58,7 +58,7 @@ jobs: - name: AArch64 installer shell: bash run: ./build-win-aarch64.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: windows path: | @@ -71,11 +71,11 @@ jobs: steps: - run: sudo apt update - run: sudo apt install -y gcc-9-aarch64-linux-gnu g++-9-aarch64-linux-gnu - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.m2/repository @@ -83,7 +83,7 @@ jobs: restore-keys: | ${{ runner.os }}-cache- - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: temurin @@ -93,12 +93,12 @@ jobs: run: ./build-linux-x86_64.sh - name: linux-aarch64 run: ./build-linux-aarch64.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: jar path: target/RuneLite.jar if-no-files-found: error - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: linux path: | @@ -108,14 +108,14 @@ jobs: macos: runs-on: macos-11 steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' - name: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.m2/repository @@ -123,7 +123,7 @@ jobs: restore-keys: | ${{ runner.os }}-cache- - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 11 distribution: temurin @@ -146,14 +146,14 @@ jobs: # tar app to keep permissions correct - name: tar app run: tar -cf app.tar build/macos-x64/RuneLite.app build/macos-aarch64/RuneLite.app build-osx-x64.sh build-osx-aarch64.sh osx/signing.entitlements - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: macos-dmg path: | RuneLite-x64.dmg RuneLite-aarch64.dmg if-no-files-found: error - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: macos-app path: |