6262 } );
6363
6464 const matchArtifact = artifacts.data.artifacts.filter( ( artifact ) => {
65- return artifact.name === 'pr-data '
65+ return artifact.name === 'pr-built-file-changes '
6666 } )[0];
6767
6868 if ( ! matchArtifact ) {
@@ -78,22 +78,22 @@ jobs:
7878 } );
7979
8080 const fs = require( 'fs' );
81- fs.writeFileSync( '${{ github.workspace }}/pr-data .zip', Buffer.from( download.data ) )
81+ fs.writeFileSync( '${{ github.workspace }}/pr-built-file-changes .zip', Buffer.from( download.data ) )
8282 env :
8383 RUN_ID : ${{ github.event.workflow_run.id }}
8484
8585 - name : Check for artifact
8686 id : artifact-check
8787 run : |
88- if [ -f "pr-data .zip" ]; then
88+ if [ -f "pr-built-file-changes .zip" ]; then
8989 echo "exists=true" >> "$GITHUB_OUTPUT"
9090 else
9191 echo "exists=false" >> "$GITHUB_OUTPUT"
9292 fi
9393
9494 - name : Unzip the artifact containing the PR data
9595 if : ${{ steps.artifact-check.outputs.exists == 'true' }}
96- run : unzip pr-data .zip
96+ run : unzip pr-built-file-changes .zip
9797
9898 - name : Generate Installation Token
9999 id : generate_token
@@ -131,6 +131,9 @@ jobs:
131131
132132 rm -f private-key.pem
133133
134+ - name : list directory
135+ run : ls -la
136+
134137 - name : Checkout repository
135138 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136139 if : ${{ steps.artifact-check.outputs.exists == 'true' }}
@@ -145,7 +148,7 @@ jobs:
145148
146149 - name : Apply patch
147150 if : ${{ steps.artifact-check.outputs.exists == 'true' }}
148- run : git apply ./pr-data/patch .diff
151+ run : git apply ./pr-built-file-changes/changes .diff
149152
150153 - name : Display changes to versioned files
151154 if : ${{ steps.artifact-check.outputs.exists == 'true' }}
0 commit comments