From ed095c6855e13eb9da1149ff346c2ccfa63a9779 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 27 Feb 2024 18:40:46 +0000 Subject: [PATCH] Upgrade to latest versions of GitHub actions/* :/. --- .github/workflows/main.yml | 72 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a833a409f..40a33bdf0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,11 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' @@ -25,7 +25,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -38,7 +38,7 @@ jobs: steps: - run: sudo rm -rf /opt - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -46,7 +46,7 @@ jobs: - run: make -j3 -C app-android precache='--no-ios' - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchid-apk path: app-android/out-and/Orchid.apk @@ -58,7 +58,7 @@ jobs: steps: - run: sudo rm -rf /opt - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup-git.sh - uses: ./.github/actions/submodule @@ -70,7 +70,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -81,13 +81,13 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule - run: make -j3 -C eth-sender - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: cj-mac path: eth-sender/out-mac/x86_64/cj @@ -97,13 +97,13 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule - run: make -j3 -C cli-shared - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidcd-mac path: cli-shared/out-mac/x86_64/orchidcd @@ -114,7 +114,7 @@ jobs: if: ${{ false }} # XXX: Hypervisor.framework steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -122,7 +122,7 @@ jobs: - run: make -j3 -C srv-daemon - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidd-mac path: srv-daemon/out-mac/x86_64/orchidd @@ -135,7 +135,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -144,7 +144,7 @@ jobs: - run: debug=crossndk make -j3 -C app-windows ./env/dotdot/gui-orchid/.flutter-plugins - run: debug=crossndk make -j3 -C app-windows target=win precache='--no-android --no-ios --windows -a' - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchid-win path: app-windows/out-win/package @@ -154,7 +154,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -162,7 +162,7 @@ jobs: - run: make -j3 -C eth-sender target=win - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: cj-win path: eth-sender/out-win/x86_64/cj.exe @@ -172,7 +172,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -180,7 +180,7 @@ jobs: - run: make -j3 -C cli-shared target=win - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidcd-win path: cli-shared/out-win/x86_64/orchidcd.exe @@ -191,7 +191,7 @@ jobs: if: ${{ false }} # XXX: use Hyper-V steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -200,7 +200,7 @@ jobs: - run: make -j3 -C srv-daemon target=win - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidd-w64 path: srv-daemon/out-win/x86_64/orchidd.exe @@ -213,14 +213,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule - run: debug=crossndk make -j3 -C app-linux ./env/dotdot/gui-orchid/.flutter-plugins - run: debug=crossndk make -j3 -C app-linux precache='--no-android --no-ios --linux' - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchid-lnx path: app-linux/out-lnx/package @@ -230,7 +230,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -246,13 +246,13 @@ jobs: machine: [x86_64, arm64, armhf] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule - run: debug=crossndk make -j3 -C cli-shared machine=${{ matrix.machine }} - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidcd-lnx-${{ matrix.machine }} path: cli-shared/out-lnx/${{ matrix.machine }}/orchidcd @@ -268,7 +268,7 @@ jobs: machine: [x86_64, arm64] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -276,7 +276,7 @@ jobs: - run: debug=crossndk make -j3 -C srv-daemon machine=${{ matrix.machine }} - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidd-lnx-${{ matrix.machine }} path: srv-daemon/out-lnx/${{ matrix.machine }}/orchidd @@ -291,7 +291,7 @@ jobs: steps: - run: sudo rm -rf /opt - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup-git.sh - uses: ./.github/actions/submodule @@ -304,12 +304,12 @@ jobs: steps: - run: sudo rm -rf /opt - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: docker build --build-arg GIT_REPOSITORY=https://github.com/${{ github.repository }}.git --build-arg GIT_COMMIT=${{ github.sha }} --build-arg GIT_SETUP=env/setup-git.sh -t orchidd:latest srv-docker - run: docker save -o orchidd.tar orchidd:latest - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidd-dkr path: orchidd.tar @@ -319,7 +319,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -328,7 +328,7 @@ jobs: - run: make -j3 -C srv-daemon target=lnx - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: orchidd-lnx-amd64 path: srv-daemon/out-lnx/x86_64/orchidd @@ -338,7 +338,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: env/setup.sh - uses: ./.github/actions/submodule @@ -350,13 +350,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: orchidd-dkr - run: tar -xvf orchidd.tar - run: tar -xvf "$(jq -r '.[0].Layers | .[]' manifest.json | tail -n1)" - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: orchidd-lnx-amd64