diff options
| author | Dax Raad <[email protected]> | 2025-12-11 11:41:52 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-11 11:41:54 -0500 |
| commit | 89d9856ed247aec3eb3ffb435ed2f636f8af1aeb (patch) | |
| tree | 0e0422728063768284683c22cff815819e409537 /.github | |
| parent | c12be73bf7fcea92fa5ac59d2f3f9200f7db07f1 (diff) | |
| download | opencode-89d9856ed247aec3eb3ffb435ed2f636f8af1aeb.tar.gz opencode-89d9856ed247aec3eb3ffb435ed2f636f8af1aeb.zip | |
ci: enable tauri desktop app to be published with GitHub release ID and tag name
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/publish.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 14078661c..1b86b676f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,8 +70,8 @@ jobs: registry-url: "https://registry.npmjs.org" - name: Publish - run: | - ./script/publish.ts + id: publish + run: ./script/publish.ts env: OPENCODE_BUMP: ${{ inputs.bump }} OPENCODE_VERSION: ${{ inputs.version }} @@ -79,9 +79,13 @@ jobs: AUR_KEY: ${{ secrets.AUR_KEY }} GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: false + outputs: + releaseId: ${{ steps.publish.outputs.releaseId }} + tagName: ${{ steps.publish.outputs.tagName }} publish-tauri: - if: false # inputs.bump || inputs.version + needs: publish + if: inputs.bump || inputs.version continue-on-error: true strategy: fail-fast: false @@ -179,4 +183,5 @@ jobs: tauriScript: ${{ (startsWith(matrix.settings.host, 'ubuntu') && 'cargo tauri') || '' }} args: --target ${{ matrix.settings.target }} updaterJsonPreferNsis: true - # releaseId: TODO + releaseId: ${{ needs.publish.outputs.releaseId }} + tagName: ${{ needs.publish.outputs.tagName }} |
