diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-12-06 17:36:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 17:36:39 -0500 |
commit | 300f66700e41d9ff5adb5f100c4455683ebaa6d5 (patch) | |
tree | da5e7d406b5a4f5455ba12a10ecebfa1607987ac | |
parent | dab4b6c4832237375f00255ec52698c8a35a19bc (diff) |
ci: downgrade to checkout v3 when building releases in non-GH containers (#1352)
-rw-r--r-- | .github/workflows/build_releases.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index ee5e2a81..ddd2c7ce 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -123,10 +123,17 @@ jobs: } steps: - name: Checkout repository + if: matrix.info.container == '' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: 1 + - name: Checkout repository (non-GitHub container) + if: matrix.info.container != '' + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + with: + fetch-depth: 1 + - name: Set up Rust toolchain if: matrix.info.container == '' uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d |