From 19885e47641d59177269a4da28867427c9057bcb Mon Sep 17 00:00:00 2001 From: saltydk Date: Tue, 1 Oct 2024 19:36:30 +0200 Subject: [PATCH] GHA: fix file paths --- .github/workflows/build-pr.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 240cc4721..386229fa6 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -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