Skip to content

Commit

Permalink
jobs.<job>.if doesn't have access to env context
Browse files Browse the repository at this point in the history
I've lost count how many times I've stumbled on this limitation and spun
my wheels. See actions/runner#1189
  • Loading branch information
tetsuo13 committed Sep 13, 2023
1 parent ac4c26b commit 5dd1613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
publish:
name: Publish NuGet Package
needs: build
if: ${{ env.CREATE_PACKAGE }}
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Download NuGet package
Expand Down

0 comments on commit 5dd1613

Please sign in to comment.