Skip to content

Commit cc13b15

Browse files
committed
Adjustment
1 parent 1eddacd commit cc13b15

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,25 @@ jobs:
7878
} );
7979
8080
const fs = require( 'fs' );
81-
fs.writeFileSync( './pr-data.zip', Buffer.from( download.data ) )
81+
fs.writeFileSync( '${{ github.workspace }}/pr-data.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 "${{ github.workspace }}/pr-data.zip" ]; then
8989
echo "exists=false" >> "$GITHUB_OUTPUT"
9090
else
9191
echo "exists=true" >> "$GITHUB_OUTPUT"
9292
fi
9393
94+
- name: list directory
95+
run: ls -la
96+
9497
- name: Unzip the artifact containing the PR data
9598
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
96-
run: unzip ./pr-data.zip
99+
run: unzip ${{ github.workspace }}/pr-data.zip
97100

98101
- name: Generate Installation Token
99102
id: generate_token

0 commit comments

Comments
 (0)