diff options
| author | Brendan Allan <[email protected]> | 2025-12-22 16:57:28 +0800 |
|---|---|---|
| committer | Brendan Allan <[email protected]> | 2025-12-22 16:57:28 +0800 |
| commit | 7a3e82ec5d84c9c98fb0b9e8ae24e2cce28819c5 (patch) | |
| tree | 97876f445c3f1ad9b3a74e0a0da4418da640b5e1 /.github/workflows | |
| parent | 345f4801e8fb67bf8a27b053187989aff47979b2 (diff) | |
| download | opencode-7a3e82ec5d84c9c98fb0b9e8ae24e2cce28819c5.tar.gz opencode-7a3e82ec5d84c9c98fb0b9e8ae24e2cce28819c5.zip | |
ci: try to upload cli artifacts
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 993682142..ebfabf6c4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -69,6 +69,19 @@ jobs: git config --global user.name "opencode" git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }} + - name: "Extract Actions runtime variables" + id: extract-runtime-environment-variables + uses: actions/github-script@v7 + env: + github-token: ${{ secrets.GITHUB_TOKEN }} + with: + script: | + core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL']) + core.exportVariable('ACTIONS_RUNTIME_URL', process.env['ACTIONS_RUNTIME_URL']) + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN']) + core.exportVariable('ACTIONS_CACHE_SERVICE_V2', process.env['ACTIONS_CACHE_SERVICE_V2']) + core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL']) + - name: Publish id: publish run: ./script/publish-start.ts @@ -79,6 +92,7 @@ jobs: AUR_KEY: ${{ secrets.AUR_KEY }} GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: false + outputs: release: ${{ steps.publish.outputs.release }} tag: ${{ steps.publish.outputs.tag }} |
