Skip to content

Commit

Permalink
GHA: fix file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Oct 1, 2024
1 parent 9468c06 commit 19885e4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,16 @@ jobs:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}
name: pr_info
path: ${{ github.workspace }}/pr_info.zip
path: ${{ github.workspace }}/pr_info

- name: Display structure of downloaded files
run: tree ${{ github.workspace }}

- name: unzip pr_info.zip
run: unzip pr_info.zip

- name: Read PR info
id: pr_info
run: |
echo "pr_number=$(cat PR_NUMBER)" >> $GITHUB_OUTPUT
echo "pr_sha=$(cat PR_SHA)" >> $GITHUB_OUTPUT
echo "pr_number=$(cat ${{ github.workspace }}/pr_info/PR_NUMBER)" >> $GITHUB_OUTPUT
echo "pr_sha=$(cat ${{ github.workspace }}/pr_info/PR_SHA)" >> $GITHUB_OUTPUT
- name: Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 19885e4

Please sign in to comment.