-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Split main job into build + deploy jobs
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 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 |
---|---|---|
|
@@ -6,9 +6,10 @@ on: | |
tags: ["3.*"] | ||
|
||
jobs: | ||
build-and-publish: | ||
build: | ||
runs-on: windows-latest | ||
|
||
outputs: | ||
version: ${{ steps.set-version.outputs.version }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -60,13 +61,21 @@ jobs: | |
path: output/*.* | ||
compression-level: 0 # no compression | ||
|
||
- id: set-version | ||
name: Set version to output | ||
run: echo "version=${{env.fullSemver}}" >> "$GITHUB_OUTPUT" | ||
|
||
deploy-installers: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: 🔫 Trigger Build Installers | ||
uses: ALEEF02/[email protected] | ||
with: | ||
workflow: Build Installers | ||
repo: specklesystems/connector-installers | ||
token: ${{ secrets.CONNECTORS_GH_TOKEN }} | ||
inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ env.fullSemVer }}" }' | ||
inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ needs.build.outputs.version }}" }' | ||
ref: main | ||
wait-for-completion: true | ||
wait-for-completion-interval: 10s | ||
|