waveterm/.github/workflows/build-macos-x64.yml

32 lines
947 B
YAML
Raw Normal View History

2024-01-08 09:12:07 +01:00
name: "Build MacOS x64"
on: workflow_dispatch
2024-01-08 08:58:46 +01:00
env:
WAVETERM_VERSION: 0.5.3
jobs:
runbuild:
2024-01-08 09:12:07 +01:00
name: "Build MacOS x64"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
2024-01-08 09:28:54 +01:00
cache-dependency-path: |
wavesrv/go.sum
waveshell/go.sum
- run: brew tap scripthaus-dev/scripthaus
- run: brew install scripthaus
2024-01-08 09:12:07 +01:00
- uses: actions/setup-node@v4
with:
node-version: '21.5.0'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: scripthaus run build-package
2024-01-08 08:58:46 +01:00
- uses: actions/upload-artifact@v3
with:
2024-01-08 09:12:07 +01:00
name: waveterm-build-darwin-x64
path: out/make/zip/darwin/x64/*.zip
retention-days: 2