Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Update GitHub workflow to remove deprecated use of "::set-output" #7359

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/update-slicer-certificate-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
run: |
sha=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ env.CERTDATA_OWNER }}/${{ env.CERTDATA_REPO }}/commits?path=${{ env.CERTDATA_PATH }}&sha=master&per_page=1" | jq ".[0] | .sha" -r)
echo "::set-output name=sha::${sha}"
echo "sha=${sha}" >> $GITHUB_OUTPUT
download_url="https://github.com/${{ env.CERTDATA_OWNER }}/${{ env.CERTDATA_REPO }}/blob/${sha}/${{ env.CERTDATA_PATH }}?raw=true"
echo "::set-output name=download_url::${download_url}"
echo "download_url=${download_url}" >> $GITHUB_OUTPUT

- name: Download certdata.txt from https://github.com/mozilla/gecko-dev
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
id: head_branch
run: |
sha=$(git rev-parse ${{ github.ref }})
echo "::set-output name=sha::${sha}"
echo "sha=${sha}" >> $GITHUB_OUTPUT

- name: Create Pull Request
id: cpr
Expand Down