Skip to content

Commit

Permalink
ci(#60): always upload build artifacts & fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Jul 8, 2024
1 parent 344c568 commit 25e03d1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ jobs:
yarn
make linux
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-linux.zip bin/linux/*
cd build/linux
zip -r vivify-linux.zip *
- name: upload artifact
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
with:
name: vivify-linux
path: vivify-linux.zip
path: build/linux/vivify-linux.zip

build-macos:
name: Build MacOS
Expand All @@ -60,15 +59,14 @@ jobs:
yarn
make macos
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-macos.zip bin/macos/*
cd build/macos
zip -r vivify-macos.zip *
- name: upload artifact
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
with:
name: vivify-macos
path: vivify-macos.zip
path: build/macos/vivify-macos.zip

release:
name: Release
Expand Down

0 comments on commit 25e03d1

Please sign in to comment.