Skip to content

Commit

Permalink
ci: fix tar.gz structure
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Sep 25, 2024
1 parent abc6000 commit 4090018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ jobs:
run: cd bin && cargo build --release --target ${{ matrix.target }} --package extism-py

- name: Create directory structure
run: mkdir -p usr/bin && mv lib/target/wasm32-wasi/wasi-deps/usr usr/share && mv ${{ matrix.path }} usr/bin/
run: mkdir -p extism-py/usr/bin && mv lib/target/wasm32-wasi/wasi-deps/usr extism-py/usr/share && mv ${{ matrix.path }} extism-py/usr/bin/

- name: Archive assets
run: tar czf ${{ matrix.asset_name }}.tar.gz usr
run: tar czf ${{ matrix.asset_name }}.tar.gz extism-py

- name: Upload assets to artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4090018

Please sign in to comment.