Skip to content

Commit

Permalink
Merge pull request jupyterhub#837 from consideRatio/pr/set-output
Browse files Browse the repository at this point in the history
ci: fix deprecation of set-output in github workflows
  • Loading branch information
consideRatio committed Nov 16, 2022
2 parents b1b2b37 + 3275fb7 commit 7fb84aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
matrix_post_filter=$(
echo "$matrix_include_pre_filter" \
| yq e --output-format=json '.' - \
| jq '{"include": map( . | select(.dont_run_on_ref != "${{ github.ref }}" ))}'
| jq -c '{"include": map( . | select(.dont_run_on_ref != "${{ github.ref }}" ))}'
)
echo ::set-output name=matrix::$(echo "$matrix_post_filter")
echo "matrix=$matrix_post_filter" >> $GITHUB_OUTPUT
echo "The subsequent job's matrix are:"
echo $matrix_post_filter | jq '.'
echo $matrix_post_filter | jq -C '.'
env:
matrix_include_pre_filter: |
- name: "Int. tests: Ubuntu 18.04, Py 3.6"
Expand Down

0 comments on commit 7fb84aa

Please sign in to comment.