Skip to content

Commit

Permalink
Updated main ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fayeed committed Aug 4, 2023
1 parent 136f4a3 commit 9968bcb
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
fail-fast: false
matrix:
platform: [GH-hosted-ubuntu, macos-latest, windows-latest]
node-version: [16.x]
node-version: [18.17.0]

needs:
- create-release
Expand All @@ -58,6 +58,10 @@ jobs:
with:
override: true
toolchain: 1.68.2
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4
- run: rustup target add wasm32-unknown-unknown

- name: install dependencies (ubuntu only)
Expand All @@ -83,8 +87,15 @@ jobs:
- name: Yarn Install
run: yarn install

- name: Build Launcher binary
run: yarn run package-macos
- name: Build AD4M-CLI & build Launcher binary (macos/linux-latest)
if: matrix.platform != 'windows-latest'
run: yarn run package-ad4m

- name: Build AD4M-CLI & build Launcher binary (windows-latest)
if: matrix.platform == 'windows-latest'
run: |
choco install curl cygwin gnuwin32-m4 libgcc make mingw
yarn run package-ad4m
- name: Upload Release Deb Asset
id: upload-release-deb-asset
Expand Down Expand Up @@ -179,6 +190,10 @@ jobs:
node-version: 16.x
- name: Install deps
run: yarn install
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.32.4
- name: Build modules
run: yarn run build-libs
- name: Publish core
Expand Down

0 comments on commit 9968bcb

Please sign in to comment.