File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,26 @@ permissions:
66on : [push]
77
88jobs :
9+ Greenworks :
10+ runs-on : ubuntu-latest
11+ defaults :
12+ run :
13+ shell : bash
14+ steps :
15+ - uses : actions/checkout@v6
16+ with :
17+ repository : greenheartgames/greenworks
18+ - run : |
19+ mkdir deps/steamworks_sdk
20+ curl -sL "https://web.archive.org/web/20250601110745/https://partner.steamgames.com/downloads/steamworks_sdk_161.zip" -o "steamworks.zip"
21+ unzip -j steamworks.zip 'sdk/*' -d deps/steamworks_sdk
22+ - run : npm install
23+ - run : HOME=~/.electron-gyp node-gyp rebuild --target=32.2.7 --arch=x64 --dist-url=https://electronjs.org/headers
24+ - uses : actions/upload-artifact@v6
25+ with :
26+ name : greenworks-bin
27+ path : build/Release/greenworks-linux64.node
28+ retention-days : 1
929 Build :
1030 runs-on : ubuntu-latest
1131 defaults :
@@ -19,10 +39,13 @@ jobs:
1939 - run : rm */place*here
2040 - name : Download dependencies
2141 run : |
22- curl -sL "https://github.com/ElectronForConstruct/greenworks-prebuilds/releases/download/v0.8.0/greenworks-electron-v128-linux-x64.node" -o "greenworks/greenworks-linux64.node"
2342 curl -sL "https://github.com/greenheartgames/greenworks/raw/refs/tags/v0.8.0/LICENSE" -o "LICENSE.greenworks"
2443 curl -sL "https://github.com/electron/electron/releases/download/v32.2.7/electron-v32.2.7-linux-x64.zip" -o "electron/electron.zip"
2544 curl -sL "https://web.archive.org/web/20250601110745/https://partner.steamgames.com/downloads/steamworks_sdk_161.zip" -o "steamworks.zip"
45+ - uses : actions/download-artifact@v5
46+ with :
47+ name : greenworks-bin
48+ path : greenworks/
2649 - name : Setup Steamworks
2750 run : |
2851 unzip -j steamworks.zip sdk/redistributable_bin/linux64/libsteam_api.so sdk/public/steam/lib/linux64/libsdkencryptedappticket.so -d greenworks/
You can’t perform that action at this time.
0 commit comments