diff options
| author | Luke Parker <[email protected]> | 2026-03-28 11:20:19 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-28 11:20:19 +1000 |
| commit | 82fc493520925cb71323964bff6939e768e6d83a (patch) | |
| tree | cc6b2af2e2045f49857aeb6f5115a31e1801b19c /.github/workflows/sign-cli.yml | |
| parent | 2145d97f1866001f107214be2f0dce3353e2e87d (diff) | |
| download | opencode-82fc493520925cb71323964bff6939e768e6d83a.tar.gz opencode-82fc493520925cb71323964bff6939e768e6d83a.zip | |
feat(ci): use Azure Artifact Signing for Windows releases (#15201)
Diffstat (limited to '.github/workflows/sign-cli.yml')
| -rw-r--r-- | .github/workflows/sign-cli.yml | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/.github/workflows/sign-cli.yml b/.github/workflows/sign-cli.yml deleted file mode 100644 index d9d61fd80..000000000 --- a/.github/workflows/sign-cli.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: sign-cli - -on: - push: - branches: - - brendan/desktop-signpath - workflow_dispatch: - -permissions: - contents: read - actions: read - -jobs: - sign-cli: - runs-on: blacksmith-4vcpu-ubuntu-2404 - if: github.repository == 'anomalyco/opencode' - steps: - - uses: actions/checkout@v3 - with: - fetch-tags: true - - - uses: ./.github/actions/setup-bun - - - name: Build - run: | - ./packages/opencode/script/build.ts - - - name: Upload unsigned Windows CLI - id: upload_unsigned_windows_cli - uses: actions/upload-artifact@v4 - with: - name: unsigned-opencode-windows-cli - path: packages/opencode/dist/opencode-windows-x64/bin/opencode.exe - if-no-files-found: error - - - name: Submit SignPath signing request - id: submit_signpath_signing_request - uses: signpath/github-action-submit-signing-request@v1 - with: - api-token: ${{ secrets.SIGNPATH_API_KEY }} - organization-id: ${{ secrets.SIGNPATH_ORGANIZATION_ID }} - project-slug: ${{ secrets.SIGNPATH_PROJECT_SLUG }} - signing-policy-slug: ${{ secrets.SIGNPATH_SIGNING_POLICY_SLUG }} - artifact-configuration-slug: ${{ secrets.SIGNPATH_ARTIFACT_CONFIGURATION_SLUG }} - github-artifact-id: ${{ steps.upload_unsigned_windows_cli.outputs.artifact-id }} - wait-for-completion: true - output-artifact-directory: signed-opencode-cli - - - name: Upload signed Windows CLI - uses: actions/upload-artifact@v4 - with: - name: signed-opencode-windows-cli - path: signed-opencode-cli/*.exe - if-no-files-found: error |
