Skip to content

Commit 15a6f09

Browse files
authored
Merge pull request #104 from RooVetGit/chore/addTempPublishWorkflow
Adding temp publish workflow
2 parents dfa41fd + 5cbf4ca commit 15a6f09

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/changeset-ai-releases.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ run-name: Changeset AI Release ${{ github.actor != 'R00-B0T' && '- Create PR' ||
88
# 4. Creating a GitHub release with the AI-generated notes
99

1010
on:
11-
pull_request:
12-
types: [closed, opened, synchronize, labeled]
11+
# pull_request:
12+
# types: [closed, opened, synchronize, labeled]
13+
workflow_dispatch:
1314

1415
env:
1516
REPO_PATH: ${{ github.repository }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Extension Temporary
2+
on:
3+
push:
4+
branches: ["main"]
5+
workflow_dispatch:
6+
7+
jobs:
8+
publish-extension:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
- run: |
16+
git config user.name github-actions
17+
git config user.email [email protected]
18+
- name: Install Dependencies
19+
run: |
20+
npm install -g vsce ovsx
21+
npm install
22+
cd webview-ui
23+
npm install
24+
cd ..
25+
- name: Package and Publish Extension
26+
env:
27+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
28+
run: |
29+
current_package_version=$(node -p "require('./package.json').version")
30+
npm run publish:marketplace
31+
echo "Successfully published version $current_package_version to VS Code Marketplace"

0 commit comments

Comments
 (0)