diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad9f0d77fa9..4bf120014b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,7 @@ jobs: file=$(ls) sha=$(sha256sum $file | awk '{ print $1 }') echo "Computed sha256: $sha for $file" - echo "::set-output name=${{matrix.runtime}}-sha256::$sha" + echo "${{matrix.runtime}}-sha256=$sha" >> $GITHUB_OUTPUT shell: bash id: sha name: Compute SHA256 @@ -140,8 +140,8 @@ jobs: file=$(ls) sha=$(sha256sum $file | awk '{ print $1 }') echo "Computed sha256: $sha for $file" - echo "::set-output name=${{matrix.runtime}}-sha256::$sha" - echo "::set-output name=sha256::$sha" + echo "${{matrix.runtime}}-sha256=$sha" >> $GITHUB_OUTPUT + echo "sha256=$sha" >> $GITHUB_OUTPUT shell: bash id: sha_noexternals name: Compute SHA256 @@ -150,8 +150,8 @@ jobs: file=$(ls) sha=$(sha256sum $file | awk '{ print $1 }') echo "Computed sha256: $sha for $file" - echo "::set-output name=${{matrix.runtime}}-sha256::$sha" - echo "::set-output name=sha256::$sha" + echo "${{matrix.runtime}}-sha256=$sha" >> $GITHUB_OUTPUT + echo "sha256=$sha" >> $GITHUB_OUTPUT shell: bash id: sha_noruntime name: Compute SHA256 @@ -160,8 +160,8 @@ jobs: file=$(ls) sha=$(sha256sum $file | awk '{ print $1 }') echo "Computed sha256: $sha for $file" - echo "::set-output name=${{matrix.runtime}}-sha256::$sha" - echo "::set-output name=sha256::$sha" + echo "${{matrix.runtime}}-sha256=$sha" >> $GITHUB_OUTPUT + echo "sha256=$sha" >> $GITHUB_OUTPUT shell: bash id: sha_noruntime_noexternals name: Compute SHA256 diff --git a/src/Test/TestData/conditional_composite_action.yml b/src/Test/TestData/conditional_composite_action.yml index a567c959329..d0d9db1ebf6 100644 --- a/src/Test/TestData/conditional_composite_action.yml +++ b/src/Test/TestData/conditional_composite_action.yml @@ -25,25 +25,25 @@ runs: - run: exit ${{ inputs.exit-code }} shell: bash - - run: echo "::set-output name=default::true" + - run: echo "default=true" >> $GITHUB_OUTPUT id: default-conditional shell: bash - - run: echo "::set-output name=success::true" + - run: echo "success=true" >> $GITHUB_OUTPUT id: success-conditional shell: bash if: success() - - run: echo "::set-output name=failure::true" + - run: echo "failure=true" >> $GITHUB_OUTPUT id: failure-conditional shell: bash if: failure() - - run: echo "::set-output name=always::true" + - run: echo "always=true" >> $GITHUB_OUTPUT id: always-conditional shell: bash if: always() - run: echo "failed" shell: bash - if: ${{ inputs.exit-code == 1 && failure() }} \ No newline at end of file + if: ${{ inputs.exit-code == 1 && failure() }}