Skip to content

Commit

Permalink
Fix Zui Insiders dev builds (#2863)
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz authored Oct 24, 2023
1 parent ff0fc9f commit 1de67ce
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build-insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,21 @@ on:
- 'build-insiders/**'

jobs:
check_latest:
name: Get last released version
runs-on: ubuntu-20.04
steps:
- name: Get last released version
id: latest_release
uses: thebritican/[email protected]
with:
repo_path: brimdata/zui-insiders
outputs:
version: ${{ steps.latest_release.outputs.tag_name }}

release:
name: Build
needs: check_latest
strategy:
matrix:
platform: [windows-2019, macos-12, ubuntu-20.04]
Expand All @@ -22,12 +35,14 @@ jobs:
steps:
- name: Checkout Zui
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.zui-branch }}

- name: Setup Zui
uses: ./.github/actions/setup-zui

- name: Inject package.json
run: yarn nx inject insiders
run: yarn nx inject insiders ${{ needs.check_latest.outputs.version }}

- name: Disable yarn immutable installs
run: yarn config set enableImmutableInstalls false
Expand All @@ -39,7 +54,7 @@ jobs:
uses: ./.github/actions/build-zui
with:
cmd: yarn nx package-insiders zui
gh_token: ${{ secrets.GITHUB_TOKEN }}
gh_token: ${{ secrets.PAT_TOKEN }}
# Windows
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }}
csc_link: ${{ secrets.WINDOWS_SIGNING_PFX_BASE64 }}
Expand Down

0 comments on commit 1de67ce

Please sign in to comment.