Skip to content

Commit

Permalink
Add macos x64 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
qianlifeng committed May 13, 2024
1 parent 222331e commit 1080d95
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
- uses: actions/checkout@v3
- name: Test
run: just test
# build-macos-amd64:
# needs: test
# runs-on: [ self-hosted, macOS, X64 ]
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: just release darwin-amd64
# - name: Deploy nightly release amd64
# uses: WebFreak001/deploy-nightly@v3.0.0
# with:
# upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label}
# release_id: 127182165
# asset_path: ./Release/wox-mac-amd64.dmg # path to archive to upload
# asset_name: wox-mac-amd64-$$.dmg # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
# asset_content_type: application/x-elf # required by GitHub API
# max_releases: 1
build-macos-amd64:
needs: test
runs-on: [ self-hosted, macOS, X64 ]
steps:
- uses: actions/checkout@v3
- name: Build
run: just release darwin-amd64
- name: Deploy nightly release amd64
uses: WebFreak001/deploy-nightly@v3.0.0
with:
upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label}
release_id: 127182165
asset_path: ./Release/wox-mac-amd64.dmg # path to archive to upload
asset_name: wox-mac-amd64-$$.dmg # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
asset_content_type: application/x-elf # required by GitHub API
max_releases: 1
build-macos-arm64:
needs: test
runs-on: [ self-hosted, macOS, ARM64 ]
Expand Down

0 comments on commit 1080d95

Please sign in to comment.