Skip to content

Commit

Permalink
Fix github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cipi1965 committed Aug 31, 2024
1 parent 38700f2 commit 5aebd47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,17 @@ jobs:
APPLE_CERTIFICATES: ${{ secrets.APPLE_CERTIFICATES }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}

- name: Build Windows/Linux
if: ${{ runner.os != 'macOS' }}
- name: Build x64
run: |
yarn make --arch x64
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: Build macOS
- name: Build arm64
if: ${{ runner.os == 'macOS' }}
run: |
yarn make --arch x64,arm64
yarn make --arch arm64
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,16 @@ jobs:
APPLE_CERTIFICATES: ${{ secrets.APPLE_CERTIFICATES }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}

- name: Publish Windows/Linux
if: ${{ runner.os != 'macOS' }}
- name: Publish x64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run publish --arch x64

- name: Publish macOS
- name: Publish arm64
if: ${{ runner.os == 'macOS' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: yarn run publish --arch x64,arm64
run: yarn run publish --arch arm64

0 comments on commit 5aebd47

Please sign in to comment.