Skip to content

Commit

Permalink
fix: Upload of artifacts to the github release
Browse files Browse the repository at this point in the history
  • Loading branch information
vfusco committed Aug 16, 2023
1 parent 6c3b878 commit 8a3ddcd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ jobs:
- name: Upload uarch json logs to be used to test the Solidity based microarchitecture interpreter
uses: actions/upload-artifact@master
with:
name: uarch-riscv-tests-json-logs.tar.gz
name: artifacts
path: uarch-riscv-tests-json-logs.tar.gz

test_arm64:
Expand Down Expand Up @@ -727,14 +727,14 @@ jobs:

- name: Create uarch json logs TAR
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: mv /tmp/uarch-riscv-tests-json-logs.tar.gz uarch-riscv-tests-json-logs-${GITHUB_REF:10}.tar.gz
run: mv artifacts/uarch-riscv-tests-json-logs.tar.gz artifacts/uarch-riscv-tests-json-logs-v${{ env.MACHINE_EMULATOR_VERSION }}.tar.gz

- name: Upload TAR and DEB to GitHub Release
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
with:
prerelease: true
draft: true
files: |
uarch-riscv-tests-json-logs-*tar.gz
cartesi-machine-*.deb
uarch-ram.bin
artifacts/uarch-riscv-tests-json-logs-*.tar.gz
artifacts/cartesi-machine-*.deb
artifacts/uarch-ram.bin

0 comments on commit 8a3ddcd

Please sign in to comment.