Skip to content

Commit

Permalink
Update action workflow and build command
Browse files Browse the repository at this point in the history
  • Loading branch information
coredev-uk committed Mar 6, 2024
1 parent 41aa74f commit 32284e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,16 @@ jobs:
run: yarn exe

- name: Upload release assets
uses: softprops/action-gh-release@v1
uses: svenstaro/upload-release-action@v2
with:
tag_name: "v2.4.9"
files: |
prebuilds/*.tar.gz
./airtunes2.exe
tag: "v2.4.9"
overwrite: true
file: prebuilds/*.tar.gz

- name: Upload executable
if: ${{ matrix.os == 'windows-latest' }}
uses: svenstaro/upload-release-action@v2
with:
tag: "v2.4.9"
overwrite: true
file: ./airtunes2.exe
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": "run-script-os",
"build:win32": "prebuild --platform win32 -r electron -t 29.1.0",
"build:linux": "prebuild --platform linux -r electron -t 29.1.0",
"build:darwin": "prebuild --platform darwin -a x64 -a arm64 -r electron -t 29.1.0",
"build:darwin": "prebuild --platform darwin -a x64 -r electron -t 29.1.0 && prebuild --platform darwin -a arm64 -r electron -t 29.1.0",
"prebuild-install": "prebuild-install || (npm run rebuild || (true || VER>NUL))",
"rebuild": "node-gyp configure build",
"exe": "pkg --compress Brotli .",
Expand Down

0 comments on commit 32284e9

Please sign in to comment.