-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 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,45 @@ | ||
name: Github release workflow | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
checks: | ||
runs-on: macos-latest | ||
env: | ||
# dont treat warning as error | ||
CI: false | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.18.x] | ||
|
||
steps: | ||
- name: Install sha256sum | ||
run: brew install coreutils | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Pull bfx-hf-ui-core | ||
run: npm run fetch-core | ||
|
||
- name: Install | ||
run: npm install | ||
|
||
- name: Build for linux/mac/windows | ||
env: | ||
CSC_KEY_PASSWORD: ${{ secrets.BFX_APPLE_KEYCHAIN_PASSWORD }} | ||
CSC_LINK: ${{ secrets.BFX_APPLE_BUILD_CERTIFICATE_B64 }} | ||
APPLEID: ${{ secrets.BFX_APPLE_ID_USERNAME }} | ||
APPLEIDPASS: ${{ secrets.BFX_APPLE_ID_HONEY_PASSWORD }} | ||
run: npm run deploy | ||
|
||
- name: Results | ||
run: ls -l dist |