Skip to content

Commit

Permalink
Update workflow to run on multiple OS for specific builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjaeon committed Dec 6, 2024
1 parent be21f68 commit fc70371
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:

jobs:
release:
runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -31,6 +33,13 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: build/**/*
files: |
build/*.exe
build/*.AppImage
build/*.deb
build/*.rpm
build/*.dmg
build/*.zip
build/*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"start": "electron .",
"build": "electron-builder"
},
"author": {
"name": "@nekupaw",
"email": "[email protected]"
},
"author": "@ninjaeon<[email protected]>",
"license": "ISC",
"devDependencies": {
"electron": "^33.3.0",
Expand Down

0 comments on commit fc70371

Please sign in to comment.