Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvti authored Jun 18, 2021
1 parent 0e46da8 commit 802d7bf
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ jobs:
- name: zip linux artifact
if: startsWith(github.ref, 'refs/tags/')
run: zip linux.zip react

- name: upload linux artifact
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: uploads
path: linux.zip
build-windows:
runs-on: windows-latest
name: Build for windows
Expand All @@ -30,7 +35,12 @@ jobs:
- name: zip windows artifact
if: startsWith(github.ref, 'refs/tags/')
run: powershell Compress-Archive react windows.zip

- name: upload windows artifact
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: uploads
path: windows.zip
build-macos:
runs-on: macos-latest
name: Build for macos
Expand All @@ -45,7 +55,12 @@ jobs:
- name: zip macos artifact
if: startsWith(github.ref, 'refs/tags/')
run: zip macos.zip react

- name: upload macos artifact
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: uploads
path: macos.zip
upload-release:
runs-on: ubuntu-latest
needs: [build-macos, build-linux, build-windows]
Expand Down

0 comments on commit 802d7bf

Please sign in to comment.