GeezerVison is showing github.com — ci: try to upload cli artifacts · ayc/opencode@7a3e82e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/publish.yml +14Lines changed: 14 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
69 | 69 | git config --global user.name "opencode" |
70 | 70 | git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }} |
71 | 71 |
|
| 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 | +
|
72 | 85 | - name: Publish |
73 | 86 | id: publish |
74 | 87 | run: ./script/publish-start.ts |
|
79 | 92 | AUR_KEY: ${{ secrets.AUR_KEY }} |
80 | 93 | GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} |
81 | 94 | NPM_CONFIG_PROVENANCE: false |
| 95 | + |
82 | 96 | outputs: |
83 | 97 | release: ${{ steps.publish.outputs.release }} |
84 | 98 | tag: ${{ steps.publish.outputs.tag }} |
|