Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 27, 2022
1 parent dea1eb7 commit 667759d
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,36 @@ jobs:
- name: Build dbg-swc
run: cargo install dbg-swc --target ${{ matrix.settings.target }}

- name: List files
- name: Copy files
shell: bash
run: |
ls -al ~/.cargo/bin
cp ~/.cargo/bin/dbg-swc* dbg-swc-${{ matrix.settings.target }}
- uses: actions/upload-artifact@v3
with:
name: dbg-swc-${{ matrix.settings.target }}
name: dbg-swc
path: |
~/.cargo/bin/dbg-swc
~/.cargo/bin/dbg-swc.exe
dbg-swc-${{ matrix.settings.target }}
release:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/download-artifact@v3
with:
name: dbg-swc
path: bins

- name: Display structure of downloaded files
shell: bash
run: ls -R
working-directory: bins

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
bins

0 comments on commit 667759d

Please sign in to comment.