From 0eba4b67f76156d2bc261647d0e10430cce5ca6f Mon Sep 17 00:00:00 2001 From: Justin Moore Date: Fri, 15 Nov 2024 10:38:36 -0600 Subject: [PATCH 1/2] Update to upload-artifact v4 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a20825..713d6f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,7 +73,7 @@ jobs: args: --target=${{ matrix.host_target }} --release - name: upload artifacts - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: # Artifact name name: ${{ matrix.artifact }} From 3eb6bb5e80bae4e2310f878f25f1954aa5a5f932 Mon Sep 17 00:00:00 2001 From: Justin Moore Date: Fri, 15 Nov 2024 10:43:34 -0600 Subject: [PATCH 2/2] Remove other deprecated actions --- .github/workflows/ci.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 713d6f4..bff4138 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,23 +54,15 @@ jobs: - uses: actions/checkout@v2 - name: Install latest stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - target: ${{ matrix.host_target }} - override: true + targets: ${{ matrix.host_target }} - name: test - uses: actions-rs/cargo@v1 - with: - command: test - args: --release + run: cargo test --release - name: build - uses: actions-rs/cargo@v1 - with: - command: build - args: --target=${{ matrix.host_target }} --release + run: cargo build --target ${{ matrix.host_target }} --release - name: upload artifacts uses: actions/upload-artifact@v4