Skip to content

Commit

Permalink
try to fix macos and linux building
Browse files Browse the repository at this point in the history
  • Loading branch information
JovannMC committed Nov 16, 2024
1 parent 18657b0 commit a5def2e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,20 @@ jobs:
- name: Build the application
run: npm run build

- name: Archive build artifacts for macOS
- name: Compress macOS build artifacts (x64)
run: zip -r build/SlimeTora-darwin-x64.zip build/SlimeTora-darwin-x64

- name: Compress macOS build artifacts (arm64)
run: zip -r build/SlimeTora-darwin-arm64.zip build/SlimeTora-darwin-arm64

- name: Archive build artifacts for macOS (x64)
uses: actions/upload-artifact@v3
with:
name: build-artifacts-macos-x64
path: build/SlimeTora-darwin-x64.zip

- name: Archive build artifacts for macOS (arm64)
uses: actions/upload-artifact@v3
with:
name: build-artifacts-macos
path: build/*darwin*
name: build-artifacts-macos-arm64
path: build/SlimeTora-darwin-arm64.zip
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^6.0.0",
"electron": "^33.2.0",
"electron": "^31.7.5",
"eslint": "^9.15.0",
"node-gyp-build": "^4.8.3",
"sass": "^1.81.0",
Expand Down

0 comments on commit a5def2e

Please sign in to comment.