Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Sep 8, 2023
1 parent 695a53b commit b3afd75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/subset_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
if [[ $JSON == *, ]]; then JSON="${JSON%?}"; fi
JSON="$JSON]"
echo "run_list=$( echo "$JSON" )" >> $GITHUB_OUTPUT
echo $JSON
outputs:
no_skip: ${{ steps.parse_list.outputs.no_skip }}
run_list: ${{ steps.parse_list.outputs.run_list }}
Expand All @@ -39,7 +40,8 @@ jobs:
runs-on: ubuntu-latest
needs: [check,one]
if: |
always() && (needs.check.outputs.no_skip == 'true' || contains(fromJSON(needs.check.outputs.run_list), github.job))
always() && (needs.check.outputs.no_skip == 'true' ||
contains(fromJSON(needs.check.outputs.run_list), github.job))
steps:
- name: Run
run: echo ran ${{ github.job }}!
Expand Down

0 comments on commit b3afd75

Please sign in to comment.