Skip to content

Commit

Permalink
publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieyang committed Sep 6, 2021
1 parent 7a4a49c commit 378a4c4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,28 @@ jobs:
with:
path: ./unity/Assets/Plugins/**/*
name: Unity_Plugins_V8
osx_node:
runs-on: macos-10.15

steps:
- uses: actions/checkout@v2
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: build_nodejs.yml
name: nodejs_bin
path: unity/native_src/
- name: Use Xcode 12.0 for x86
run: sudo xcode-select -switch "/Applications/Xcode_12.app"
- name: Build
run: |
cd unity/native_src
sh ./make_osx_node.sh
- name: Upload
uses: actions/upload-artifact@v2
with:
path: ./unity/Assets/Plugins/**/*
name: Unity_Plugins_Nodejs
osx_qjs:
runs-on: macos-10.15

Expand Down Expand Up @@ -181,6 +203,28 @@ jobs:
with:
path: ./unity/Assets/Plugins/**/*
name: Unity_Plugins_V8
windows_node:
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: build_nodejs.yml
name: nodejs_bin
path: unity/native_src/
- name: Build
run: |
cd unity\native_src
.\make_win64_node.bat
# .\make_win32_node.bat
- name: Upload
uses: actions/upload-artifact@v2
with:
path: ./unity/Assets/Plugins/**/*
name: Unity_Plugins_Nodejs

windows_qjs:
runs-on: windows-2019

Expand Down

0 comments on commit 378a4c4

Please sign in to comment.