From 2f76aead3cdcdc95397b7d672ca367bae2e6a583 Mon Sep 17 00:00:00 2001 From: OMGeeky <39029799+OMGeeky@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:36:02 +0200 Subject: [PATCH] Reorder cache position in action --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 8f2a245..6a91fef 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -21,6 +21,7 @@ jobs: # - target: x86_64-apple-darwin # archive: zip steps: + - uses: actions/checkout@master - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -33,7 +34,6 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - - uses: actions/checkout@master - name: Compile id: compile uses: rust-build/rust-build.action@v1.4.3