Skip to content

Commit

Permalink
fix upload
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Oct 2, 2024
1 parent 7458f86 commit 7981af5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/multi_allocations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,21 @@ jobs:
for i in $(seq 0 $((${{ matrix.number_of_providers }} - 1))); do
rm -r golem/provider_$i/providerdir/exe-unit/cache
done
tar --zstd -cf data_${{ matrix.id }}.tar.zst golem/requestor/yagnadir
tar -cf data_${{ matrix.id }}.tar golem/requestor/yagnadir
# append provider files
for i in $(seq 0 $((${{ matrix.number_of_providers }} - 1))); do
tar --zstd -rf data_${{ matrix.id }}.tar.zst golem/provider_$i/providerdir
tar -rf data_${{ matrix.id }}.tar golem/provider_$i/providerdir
done
xz data_${{ matrix.id }}.tar
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
with:
name: data_${{ matrix.id }}.tar.zst
path: data_${{ matrix.id }}.tar.zst
name: data_${{ matrix.id }}.tar.xz
path: data_${{ matrix.id }}.tar.xz

- name: Upload used private key back to the server
if: always()
Expand Down

0 comments on commit 7981af5

Please sign in to comment.