ci: downgrade to checkout v3 when building releases in non-GH containers (#1352)

This commit is contained in:
Clement Tsang 2023-12-06 17:36:39 -05:00 committed by GitHub
parent dab4b6c483
commit 300f66700e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,10 +123,17 @@ jobs:
} }
steps: steps:
- name: Checkout repository - name: Checkout repository
if: matrix.info.container == ''
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with: with:
fetch-depth: 1 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 - name: Set up Rust toolchain
if: matrix.info.container == '' if: matrix.info.container == ''
uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d