diff options
| author | Frank <[email protected]> | 2025-07-20 13:07:48 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-07-20 13:07:48 -0400 |
| commit | af2c0b369516c3f7387d4ae6d76c30414ec0a03b (patch) | |
| tree | 3dd1c28cf6452f39a817a8661dce2d4cc4a4719b | |
| parent | 811b22367d7b74c21c0a736806f9cfebced7f9c8 (diff) | |
| download | opencode-af2c0b369516c3f7387d4ae6d76c30414ec0a03b.tar.gz opencode-af2c0b369516c3f7387d4ae6d76c30414ec0a03b.zip | |
wip: github action
| -rw-r--r-- | .github/workflows/publish-github-action.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/publish-vscode.yml | 1 | ||||
| -rwxr-xr-x | sdks/vscode/script/publish | 5 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/publish-github-action.yml b/.github/workflows/publish-github-action.yml index b190a30e1..ea4fa9ff8 100644 --- a/.github/workflows/publish-github-action.yml +++ b/.github/workflows/publish-github-action.yml @@ -5,11 +5,13 @@ on: push: tags: - "github-v*.*.*" + - "!github-v1" concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: contents: write + workflows: write jobs: publish: diff --git a/.github/workflows/publish-vscode.yml b/.github/workflows/publish-vscode.yml index 8939cd2b5..9f98f9066 100644 --- a/.github/workflows/publish-vscode.yml +++ b/.github/workflows/publish-vscode.yml @@ -33,3 +33,4 @@ jobs: working-directory: ./sdks/vscode env: VSCE_PAT: ${{ secrets.VSCE_PAT }} + OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }} diff --git a/sdks/vscode/script/publish b/sdks/vscode/script/publish index 3c16f474f..f8eb6d1f3 100755 --- a/sdks/vscode/script/publish +++ b/sdks/vscode/script/publish @@ -14,4 +14,7 @@ echo "Latest version: $version" vsce package --no-git-tag-version --no-update-package-json --no-dependencies --skip-license -o dist/opencode.vsix $version # publish-marketplace -vsce publish --packagePath dist/opencode.vsix
\ No newline at end of file +vsce publish --packagePath dist/opencode.vsix + +# publish-openvsx +npx ovsx publish dist/opencode.vsix -p $OPENVSX_TOKEN
\ No newline at end of file |
