Download .github/workflows/publish-vscode.yml from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 819 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/.github/workflows/publish-vscode.yml
- Command line
-
hf download hf://SaylorTwift/opencode/.github/workflows/publish-vscode.yml
-
curl -L -o publish-vscode.yml https://huggingface.co/SaylorTwift/opencode/resolve/main/.github/workflows/publish-vscode.yml
819 Bytes
| name: publish-vscode | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - "vscode-v*.*.*" | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| permissions: | |
| contents: write | |
| jobs: | |
| publish: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/setup-bun | |
| - run: git fetch --force --tags | |
| - run: bun install -g @vscode/vsce | |
| - name: Install extension dependencies | |
| run: bun install | |
| working-directory: ./sdks/vscode | |
| - name: Publish | |
| run: | | |
| ./script/publish | |
| working-directory: ./sdks/vscode | |
| env: | |
| VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
| OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }} | |