Browse Source

deprecate set-output (#186)

pull/187/head
Opeyemi 2 years ago committed by GitHub
parent
commit
82cfceb235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/test-download-artifacts.yml
  2. 2
      get-checksum/main.py

4
.github/workflows/test-download-artifacts.yml

@ -60,8 +60,10 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Extract branch name - name: Extract branch name
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch id: extract_branch
run: |
branch=${GITHUB_REF#refs/heads/}
echo "branch=$branch" >> $GITHUB_OUTPUT
- name: Download - name: Download
uses: ./download-artifacts uses: ./download-artifacts

2
get-checksum/main.py

@ -37,4 +37,4 @@ if __name__ == "__main__":
print(hashes) print(hashes)
print(f"::set-output name=status::Saved checksums in file: {file_path}") print(f"Saved checksums in file: {file_path} >> $GITHUB_OUTPUT")

Loading…
Cancel
Save