Skip to content

Commit

Permalink
eval variables in if in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chhsiao1981 committed Sep 25, 2024
1 parent 09841fd commit 924c7c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
jobs:
build:
runs-on: ubuntu-24.04
if: github.repository_owner == 'FNNDSC' && secrets.GITHUB_TOKEN != ''
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution#overview
if: ${{ github.repository_owner == 'FNNDSC' && secrets.GITHUB_TOKEN != '' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 924c7c2

Please sign in to comment.