Skip to content

Commit 9c2058f

Browse files
committed
Using temp dir to stage - simpler
1 parent 295b0e9 commit 9c2058f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/python-uv-build-zip.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ jobs:
8686
- name: Zip build folder
8787
run: |
8888
pushd ${{ inputs.build-path }}
89-
zip -q -r ${{ inputs.artifact-name }}.zip ${{ inputs.build-globs }}
90-
cp ${{ inputs.artifact-name }}.zip "$(dirs +1)"
89+
zip -q -r ${{ runner.temp }}/${{ inputs.artifact-name }}.zip ${{ inputs.build-globs }}
9190
9291
- name: Upload artifact
9392
uses: actions/upload-artifact@v4
9493
with:
9594
name: ${{ inputs.artifact-name }}
96-
path: ${{ inputs.working-directory }}/${{ inputs.artifact-name }}.zip
95+
path: ${{ runner.temp }}/${{ inputs.artifact-name }}.zip
9796
if-no-files-found: error
9897

9998
- name: Post-run

0 commit comments

Comments
 (0)