mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 15:18:18 -05:00
feat: add run-id input to circuits build workflow
- Add optional run-id input parameter to workflow_dispatch - Allow downloading artifacts from specific workflow runs - Improves build efficiency by reusing existing artifacts - Solves 'Artifact not found' errors when building specific circuits
This commit is contained in:
7
.github/workflows/circuits-build.yml
vendored
7
.github/workflows/circuits-build.yml
vendored
@@ -20,6 +20,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
run-id:
|
||||
description: 'Run ID to download artifacts from (optional). If provided, will download artifacts from that specific run instead of the latest.'
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
concurrency:
|
||||
group: circuits-build-${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -156,6 +161,8 @@ jobs:
|
||||
with:
|
||||
name: circuits
|
||||
path: output/
|
||||
# If run-id is provided, download from that specific run, otherwise use latest
|
||||
run-id: ${{ inputs.run-id != '' && inputs.run-id || '' }}
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build cpp circuits
|
||||
|
||||
Reference in New Issue
Block a user