Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Zui Insiders dev builds #2863

Merged
merged 3 commits into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading