Skip to content

Commit

Permalink
fix upload artifact (#1598)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Feb 17, 2023
1 parent a8380c5 commit 59e906d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/artifact_failure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ runs:
- name: pack failure artifacts
shell: bash
run: |
echo "Current running processes"
ps uax
echo "Processes that access current dir"
lsof +D `pwd` || true
killall sccache || true
killall sccache-dist || true
tar --exclude='target' \
--exclude='docs' \
--exclude='bins' \
--exclude='.git' \
--exclude='failure-*' \
-zcf failure-${{ inputs.name }}.tar.gz .
-zcf target/failure-${{ inputs.name }}.tar.gz .
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.name }}
path: failure-${{ inputs.name }}.tar.gz
path: target/failure-${{ inputs.name }}.tar.gz

0 comments on commit 59e906d

Please sign in to comment.