Skip to content

Commit

Permalink
fix: release arm64 and x64 for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
PH1P5 committed Jan 13, 2025
1 parent fa62324 commit 72e79e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-latest]
os: [macos-13, macos-latest, ubuntu-latest]
include:
- os: macos-13
package-path: dist/*.dmg
- os: macos-latest
package-path: dist/*.dmg
- os: ubuntu-latest
package-path: dist/*.deb

Expand All @@ -39,10 +41,6 @@ jobs:
- name: bundle cctron
run: npm run package

- name: Display structure of downloaded files
run: ls -R dist


- name: upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
["@semantic-release/github",
{
"assets": [
{ "path": "artifacts/*.dmg", "label": "cctron for macos" },
{ "path": "artifacts/*_x64.dmg", "label": "cctron x64 for macos" },
{ "path": "artifacts/*_arm64.dmg", "label": "cctron x64 for macos" },
{ "path": "artifacts/*.deb", "label": "cctron for linux" }
]
}
Expand Down

0 comments on commit 72e79e1

Please sign in to comment.