diff options
| author | Dax Raad <[email protected]> | 2026-04-09 17:06:53 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-04-09 17:06:53 -0400 |
| commit | eac50f9151be808c06a36612a69a0e4522988cdd (patch) | |
| tree | 0709a08a4dae7a80597db1f520d043d05b18b293 /.github | |
| parent | 1a902b291c5c096b33a5f618721559e03f0a5dab (diff) | |
| download | opencode-eac50f9151be808c06a36612a69a0e4522988cdd.tar.gz opencode-eac50f9151be808c06a36612a69a0e4522988cdd.zip | |
ci: prevent beta branch builds from triggering production release steps
Skip Windows and Linux code signing, along with artifact downloads for
the beta branch to ensure beta builds don't go through production
release processes.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/publish.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f305be5c..46a657780 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -114,7 +114,7 @@ jobs: - build-cli - version runs-on: blacksmith-4vcpu-windows-2025 - if: github.repository == 'anomalyco/opencode' + if: github.repository == 'anomalyco/opencode' && github.ref_name != 'beta' env: AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} @@ -390,6 +390,7 @@ jobs: needs: - build-cli - version + if: github.repository == 'anomalyco/opencode' && github.ref_name != 'beta' continue-on-error: false env: AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} @@ -422,7 +423,6 @@ jobs: target: aarch64-unknown-linux-gnu platform_flag: --linux runs-on: ${{ matrix.settings.host }} - # if: github.ref_name == 'beta' steps: - uses: actions/checkout@v3 @@ -591,12 +591,13 @@ jobs: path: packages/opencode/dist - uses: actions/download-artifact@v4 + if: github.ref_name != 'beta' with: name: opencode-cli-signed-windows path: packages/opencode/dist - uses: actions/download-artifact@v4 - if: needs.version.outputs.release + if: needs.version.outputs.release && github.ref_name != 'beta' with: pattern: latest-yml-* path: /tmp/latest-yml |
