Skip to content

Commit

Permalink
Testing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Oct 10, 2023
1 parent e78ed70 commit 9763d72
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
npm install
npm run build
- name: Pack assets
run: |
tar -czf frontend.tar.gz dist
- name: Upload assets
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2
with:
name: frontend
path: frontend/dist
path: frontend.tar.gz
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
${{ matrix.build-with }} build --profile release-lto --target ${{ matrix.target }}
- name: Gz asset
- name: Tar gz asset
run: |
# mv target/${{ matrix.target }}/release-lto/erc20_processor${{ matrix.exe }} target/${{ matrix.target }}/release-lto/erc20_processor${{ matrix.exe }}
tar -cf - -C target/${{ matrix.target }}/release-lto/ erc20_processor${{ matrix.exe }} | gzip -9 > erc20_processor.tar.gz
Expand All @@ -111,3 +111,15 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
body: "Xzipped binary for ${{ matrix.cpu }} ${{ matrix.os }}"

- name: Build frontend
run: |
cd frontend
npm install
npm run build
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: frontend
path: frontend/dist

0 comments on commit 9763d72

Please sign in to comment.