Skip to content

Commit

Permalink
Try to fix access to skip and dry_run
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Feb 27, 2024
1 parent 7a47447 commit 9c4f1c7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/testing-farm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,17 +184,16 @@ jobs:
echo "dry_run=$dry_run" >> $GITHUB_ENV
- name: Create artifact for this testing-farm run if not already done
if: github.env.skip == 0 && github.env.dry_run != 1
if: env.skip == 0 && env.dry_run != 1
uses: actions/upload-artifact@v4
with:
name: ${{ github.env.artifact_name }}
path: /tmp/${{ github.env.artifact_name }}
name: ${{ env.artifact_name }}
path: /tmp/${{ env.artifact_name }}
if-no-files-found: warn

- name: "Run testing-farm"
if: github.env.skip == 0
if: env.skip == 0
shell: bash -e {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9c4f1c7

Please sign in to comment.