Skip to content

Commit

Permalink
chore(ci): migrate deprecating set-output commands
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Liu <miles@bung.cc>
  • Loading branch information
miles170 committed Nov 8, 2022
1 parent 09f4613 commit 3e1c131
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
RES="$(echo "${PERF_TEST_RUNS_ON:-${PERF_TEST_RUNS_ON_DEFAULT}}" | jq -c '.targets')"
echo "Detected targets:"
echo "$RES" | jq .
echo "::set-output name=matrix::${RES}"
echo "matrix=${RES}" >> $GITHUB_OUTPUT
performance-test-suite:
name: Performance Test Suite (${{ matrix.target.name }})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
RES="$(echo "${PERF_TEST_RUNS_ON:-${PERF_TEST_RUNS_ON_DEFAULT}}" | jq -c '.targets')"
echo "Detected targets:"
echo "$RES" | jq .
echo "::set-output name=matrix::${RES}"
echo "matrix=${RES}" >> $GITHUB_OUTPUT
performance-test-suite:
needs: performance-test-suite-detect-runners
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
args: n git://. --host cas.codenotary.com --api-key ${{ secrets.CAS_API_KEY }}
- id: list-binaries
run: |
echo "::set-output name=matrix::$(ls dist | jq -R -s -c 'split("\n")[:-1] | {binary: .}')"
echo "matrix=$(ls dist | jq -R -s -c 'split("\n")[:-1] | {binary: .}')" >> $GITHUB_OUTPUT
- name: Upload binary artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 3e1c131

Please sign in to comment.