Skip to content

Commit c9b466c

Browse files
committed
More tweaks to avoid overwriting artifact by checkout.
1 parent 606fa29 commit c9b466c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/commit-built-file-changes.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
} );
7979
8080
const fs = require( 'fs' );
81-
fs.writeFileSync( '${{ github.workspace }}/pr-built-file-changes.zip', Buffer.from( download.data ) )
81+
fs.writeFileSync( '${{ github.workspace }}/artifacts/pr-built-file-changes.zip', Buffer.from( download.data ) )
8282
env:
8383
RUN_ID: ${{ github.event.workflow_run.id }}
8484

@@ -93,7 +93,7 @@ jobs:
9393
9494
- name: Unzip the artifact containing the PR data
9595
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
96-
run: unzip pr-built-file-changes.zip
96+
run: unzip artifacts/pr-built-file-changes.zip
9797

9898
- name: Generate Installation Token
9999
id: generate_token
@@ -148,7 +148,7 @@ jobs:
148148

149149
- name: Apply patch
150150
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
151-
run: git apply ./pr-built-file-changes/changes.diff
151+
run: git apply ./artifacts/changes.diff
152152

153153
- name: Display changes to versioned files
154154
if: ${{ steps.artifact-check.outputs.exists == 'true' }}

0 commit comments

Comments
 (0)