diff options
| author | Max Isom <[email protected]> | 2024-08-18 16:01:21 -0700 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2024-08-18 16:01:21 -0700 |
| commit | de4a9193b6016ff15820914d9f06b6dd64649d3f (patch) | |
| tree | 50adf9f6056f2b01753298f9082c587c4c336bf9 | |
| parent | 9751feb778cd3f7bf863d5e91d7c187980ce3da9 (diff) | |
| download | muse-de4a9193b6016ff15820914d9f06b6dd64649d3f.tar.xz muse-de4a9193b6016ff15820914d9f06b6dd64649d3f.zip | |
Update workflow
| -rw-r--r-- | .github/workflows/pr-release.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/pr-release.yml b/.github/workflows/pr-release.yml index 651840c..e121edd 100644 --- a/.github/workflows/pr-release.yml +++ b/.github/workflows/pr-release.yml @@ -83,11 +83,10 @@ jobs: run-id: ${{ github.event.workflow_run.id }} github-token: ${{ secrets.GH_PAT }} - - name: Read the pull_request_number.txt file - id: pull_request_number_reader - uses: juliangruber/[email protected] - with: - path: /tmp/pull_request_number/pull_request_number/pull_request_number.txt + - name: Read PR number + shell: bash + run: | + echo "PR_NUMBER=$(cat /tmp/pull_request_number/pull_request_number/pull_request_number.txt | tr -d '\n')" >> $GITHUB_ENV - name: Create manifest list and push run: | @@ -97,12 +96,12 @@ jobs: uses: marocchino/sticky-pull-request-comment@v2 with: header: "pr-release" - number: ${{ steps.pull_request_number_reader.outputs.content }} + number: ${{ env.PR_NUMBER }} GITHUB_TOKEN: ${{ secrets.GH_PAT }} message: | #### :package: :robot: A new release has been made for this pull request. - To play around with this PR, pull `${{ env.REGISTRY_IMAGE }}:pr-${{ steps.pull_request_number_reader.outputs.content }}`. + To play around with this PR, pull `${{ env.REGISTRY_IMAGE }}:pr-${{ env.PR_NUMBER }}`. Images are available for x86_64 and ARM64. |
