summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-12-06 17:36:39 -0500
committerGitHub <noreply@github.com>2023-12-06 17:36:39 -0500
commit300f66700e41d9ff5adb5f100c4455683ebaa6d5 (patch)
treeda5e7d406b5a4f5455ba12a10ecebfa1607987ac /.github
parentdab4b6c4832237375f00255ec52698c8a35a19bc (diff)
ci: downgrade to checkout v3 when building releases in non-GH containers (#1352)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_releases.yml7
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