diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index c60c7ed35..d143ad454 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -49,7 +49,7 @@ jobs: # * saves about 1min per workflow by skipping the actual cache write # downsides: # * PRs that update rust version or changes deps will be slow to iterate on due to changes not being cached. - save-if: ${{ github.ref == 'refs/head/main' }} + save-if: ${{ github.ref == 'refs/heads/main' }} - name: cache custom ubuntu packages uses: actions/cache@v3 with: diff --git a/.github/workflows/windsock_benches.yaml b/.github/workflows/windsock_benches.yaml index bfc13b3d3..12f91af3d 100644 --- a/.github/workflows/windsock_benches.yaml +++ b/.github/workflows/windsock_benches.yaml @@ -29,7 +29,7 @@ jobs: # * saves about 1min per workflow by skipping the actual cache write # downsides: # * PRs that update rust version or changes deps will be slow to iterate on due to changes not being cached. - save-if: ${{ github.ref == 'refs/head/main' }} + save-if: ${{ github.ref == 'refs/heads/main' }} - name: Ensure that custom benches run run: | # run some extra cases that arent handled by nextest