diff --git a/.github/workflows/test-download-artifacts.yml b/.github/workflows/test-download-artifacts.yml index 3313fce1..8a6c0344 100644 --- a/.github/workflows/test-download-artifacts.yml +++ b/.github/workflows/test-download-artifacts.yml @@ -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 diff --git a/get-checksum/main.py b/get-checksum/main.py index 7b6554f7..3fc35a09 100644 --- a/get-checksum/main.py +++ b/get-checksum/main.py @@ -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}") \ No newline at end of file + print(f"Saved checksums in file: {file_path} >> $GITHUB_OUTPUT")