Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marioparaschiv committed Dec 10, 2023
1 parent 9c942b0 commit ae82d96
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Compile Hermesc Package
on:
pull_request:
push:
workflow_dispatch:
workflow_dispatch:

jobs:
build-windows:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
with:
name: hermesc-linux
path: build/bin/hermesc

build-mac:
runs-on: "macos-latest"

Expand All @@ -65,7 +65,7 @@ jobs:
key: macos
- uses: actions/checkout@v3
- name: Compile Hermesc for MacOS
run: |
run: |
brew install cmake git ninja
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release --target hermesc
Expand All @@ -74,29 +74,29 @@ jobs:
with:
name: hermesc-mac
path: build/bin/hermesc

package:
runs-on: "ubuntu-latest"
needs: [build-windows, build-linux, build-mac]

steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
name: hermesc-linux
path: ./npm/hermesc/linux64-bin
path: ./npm/hermesc/linux64

- uses: actions/download-artifact@v3
with:
name: hermesc-mac
path: ./npm/hermesc/osx-bin
path: ./npm/hermesc/osx

- uses: actions/download-artifact@v3
with:
name: hermesc-windows
path: ./npm/hermesc/win64-bin
path: ./npm/hermesc/win64

- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down

0 comments on commit ae82d96

Please sign in to comment.