diff --git a/.github/workflows/desktop-installers.yml b/.github/workflows/desktop-installers.yml index cdb9daf6..d322bed3 100644 --- a/.github/workflows/desktop-installers.yml +++ b/.github/workflows/desktop-installers.yml @@ -57,6 +57,10 @@ on: upgrade_to: type: string default: "" + server_ref: + description: "CIRISServer ref the shells are checked out at (a branch, tag or SHA of THIS repo)" + type: string + default: main push: tags: ['v*'] # A PR that touches the shells runs them (5 legs, 2 macOS: only then). @@ -84,7 +88,7 @@ jobs: - uses: actions/checkout@v4 with: repository: CIRISAI/CIRISServer - ref: ${{ github.job_workflow_sha || github.sha }} + ref: ${{ inputs.server_ref || github.sha }} - uses: actions/setup-python@v6 with: python-version: '3.12' @@ -252,7 +256,7 @@ jobs: - uses: actions/checkout@v4 with: repository: CIRISAI/CIRISServer - ref: ${{ github.job_workflow_sha || github.sha }} + ref: ${{ inputs.server_ref || github.sha }} - uses: actions/setup-python@v6 with: python-version: '3.12' @@ -305,7 +309,7 @@ jobs: - uses: actions/checkout@v4 with: repository: CIRISAI/CIRISServer - ref: ${{ github.job_workflow_sha || github.sha }} + ref: ${{ inputs.server_ref || github.sha }} - uses: actions/setup-python@v6 with: python-version: '3.12'