diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d1222..2d7827e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,12 +37,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - if: "${{ secrets.CI_READ }} != ''" + env: + ci_read: ${{ secrets.CI_READ }} + if: ${{ env.ci_read != '' }} with: - token: ${{ secrets.CI_READ }} + token: ${{ env.ci_read }} submodules: recursive - uses: actions/checkout@v3 - if: "${{ secrets.CI_READ }} == ''" + env: + ci_read: ${{ secrets.CI_READ }} + if: ${{ env.ci_read == '' }} with: submodules: recursive - uses: ./.github/workflows/actions/rust-toolchain