Rename "release" target to avoid clash with "nx release" #42
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
name: Create Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'release/**' | |
jobs: | |
release: | |
strategy: | |
matrix: | |
platform: [macos-12, ubuntu-20.04, windows-2019] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout Zui | |
uses: actions/checkout@v3 | |
- name: Setup Zui | |
uses: ./.github/actions/setup-zui | |
- name: Build Zui | |
uses: ./.github/actions/build-zui | |
with: | |
cmd: yarn nx release-zui zui | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
# Windows | |
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }} | |
csc_link: ${{ secrets.WINDOWS_SIGNING_PFX_BASE64 }} | |
# Mac | |
apple_id: ${{ secrets.APPLEID_USER }} | |
apple_id_password: ${{ secrets.APPLEID_PASSWORD }} | |
apple_team_id: ${{ secrets.APPLE_TEAM_ID }} | |
cert_p12: ${{ secrets.APPLE_DEVELOPER_ID_CERT_P12_BASE64 }} | |
cert_passphrase: ${{ secrets.APPLE_DEVELOPER_ID_CERT_PASSPHRASE }} | |
- name: Upload Artifacts | |
uses: ./.github/actions/upload-build-artifacts |