Skip to content

Commit

Permalink
Run the full preparation for binary compilation too
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealBoy committed Apr 15, 2024
1 parent 405f900 commit 12cc669
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ jobs:
runs-on: ubuntu-latest
needs: tests
steps:
- name: 'Checkout Repo'
uses: actions/checkout@v4
- name: 'Setup Go'
uses: actions/setup-go@v4
with:
go-version: ^1.22
- name: 'Setup Node'
uses: actions/setup-node@v4
with:
node-version: 18
- name: 'Build Frontend Artefacts'
run: yarn && NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: 'Mirror Dist'
run: cp -r ./dist ./pkg/server/dist
- name: 'Matrix Binary Compilation'
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o dist/roadie.${{ matrix.arch }}-${{ matrix.os }} ./cmd/roadie
- name: 'Archive Binary'
Expand Down

0 comments on commit 12cc669

Please sign in to comment.