Skip to content

Commit

Permalink
wip: update workflow to produce build artifacts on every run
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 14, 2024
1 parent ced2482 commit cef677c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- name: Run license check
run: |
yarn license-validate
macos-build:
name: Install and build on macOS
runs-on: macos-latest
Expand Down Expand Up @@ -75,6 +76,28 @@ jobs:
- name: Build
run: |
yarn build
- name: Build binaries
run: |
yarn build:binary
env:
CSC_LINK: ${{ secrets.MAC_CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }}
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
- name: Collect binaries
run: |
mkdir macos-dist
mv apps/tsr-bridge/dist/TSR-Bridge* macos-dist/
mv apps/app/dist/SuperConductor* macos-dist/
mv apps/app/dist/latest-mac.yml macos-dist/
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: macos-dist
path: macos-dist
retention-days: 1

windows-build:
name: Install and build on Windows
runs-on: windows-latest
Expand Down Expand Up @@ -102,3 +125,19 @@ jobs:
- name: Build
run: |
yarn build
- name: Build binaries
run: |
yarn build:binary
- name: Collect binaries
run: |
mkdir win-dist
mv apps/tsr-bridge/dist/TSR-Bridge* win-dist/
mv apps/app/dist/SuperConductor* win-dist/
mv apps/app/dist/latest.yml win-dist/
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: win-dist
path: win-dist
retention-days: 1

0 comments on commit cef677c

Please sign in to comment.