-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add arm64 runner * update concurrency check * only run mac arm64 on qa review request * run on review requested * fix pr trigger * fix trigger * just run it manually
- Loading branch information
1 parent
45a9c2f
commit ef7fae6
Showing
4 changed files
with
85 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build mac arm64 | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | ||
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | ||
RUDDERSTACK_CLIENT_ID: ${{ secrets.RUDDERSTACK_CLIENT_ID }} | ||
|
||
jobs: | ||
release-mac-arm64: | ||
runs-on: macos-latest-xlarge | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
token: ${{ secrets.pat }} | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
|
||
- name: Reconfigure git to use HTTP authentication | ||
run: > | ||
git config --global url."https://github.com/".insteadOf | ||
ssh://[email protected]/ | ||
- name: Authenticate with private NPM package | ||
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
|
||
- name: Install dependencies | ||
run: yarn setup | ||
|
||
- name: Build artifacts. | ||
run: yarn release:mac:arm64 | ||
env: | ||
NOTARIZE: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ env: | |
TEAMID: ${{ secrets.TEAMID }} | ||
|
||
jobs: | ||
build-and-release: | ||
release-x64: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
|
@@ -45,6 +45,38 @@ jobs: | |
run: yarn setup | ||
|
||
- name: Build artifacts. | ||
run: yarn release:mac | ||
run: yarn release:mac:x64 | ||
env: | ||
NOTARIZE: true | ||
|
||
release-arm64: | ||
runs-on: macos-latest-xlarge | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
token: ${{ secrets.pat }} | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
|
||
- name: Reconfigure git to use HTTP authentication | ||
run: > | ||
git config --global url."https://github.com/".insteadOf | ||
ssh://[email protected]/ | ||
- name: Authenticate with private NPM package | ||
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
|
||
- name: Install dependencies | ||
run: yarn setup | ||
|
||
- name: Build artifacts. | ||
run: yarn release:mac:arm64 | ||
env: | ||
NOTARIZE: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters