Skip to content

Commit

Permalink
deprecate set-output (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru authored Aug 29, 2023
1 parent 67ab95d commit 82cfceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-download-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Extract branch name
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
run: |
branch=${GITHUB_REF#refs/heads/}
echo "branch=$branch" >> $GITHUB_OUTPUT
- name: Download
uses: ./download-artifacts
Expand Down
2 changes: 1 addition & 1 deletion get-checksum/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def get_file_sha256_hash(file_path):

print(hashes)

print(f"::set-output name=status::Saved checksums in file: {file_path}")
print(f"Saved checksums in file: {file_path} >> $GITHUB_OUTPUT")

0 comments on commit 82cfceb

Please sign in to comment.