Skip to content

Commit 7a3e82e

Browse files
committed
ci: try to upload cli artifacts
1 parent 345f480 commit 7a3e82e

File tree

4 files changed

+178
-106
lines changed

4 files changed

+178
-106
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ jobs:
6969
git config --global user.name "opencode"
7070
git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }}
7171
72+
- name: "Extract Actions runtime variables"
73+
id: extract-runtime-environment-variables
74+
uses: actions/github-script@v7
75+
env:
76+
github-token: ${{ secrets.GITHUB_TOKEN }}
77+
with:
78+
script: |
79+
core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL'])
80+
core.exportVariable('ACTIONS_RUNTIME_URL', process.env['ACTIONS_RUNTIME_URL'])
81+
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN'])
82+
core.exportVariable('ACTIONS_CACHE_SERVICE_V2', process.env['ACTIONS_CACHE_SERVICE_V2'])
83+
core.exportVariable('ACTIONS_RESULTS_URL', process.env['ACTIONS_RESULTS_URL'])
84+
7285
- name: Publish
7386
id: publish
7487
run: ./script/publish-start.ts
@@ -79,6 +92,7 @@ jobs:
7992
AUR_KEY: ${{ secrets.AUR_KEY }}
8093
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
8194
NPM_CONFIG_PROVENANCE: false
95+
8296
outputs:
8397
release: ${{ steps.publish.outputs.release }}
8498
tag: ${{ steps.publish.outputs.tag }}

0 commit comments

Comments
 (0)