Adding temp publish workflow

Disable automated changeset flow
This commit is contained in:
ColemanRoo
2024-12-13 21:56:03 -06:00
parent dfa41fd24c
commit 5cbf4ca5c8
2 changed files with 34 additions and 2 deletions

View File

@@ -8,8 +8,9 @@ run-name: Changeset AI Release ${{ github.actor != 'R00-B0T' && '- Create PR' ||
# 4. Creating a GitHub release with the AI-generated notes
on:
pull_request:
types: [closed, opened, synchronize, labeled]
# pull_request:
# types: [closed, opened, synchronize, labeled]
workflow_dispatch:
env:
REPO_PATH: ${{ github.repository }}

View File

@@ -0,0 +1,31 @@
name: Publish Extension Temporary
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
publish-extension:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Install Dependencies
run: |
npm install -g vsce ovsx
npm install
cd webview-ui
npm install
cd ..
- name: Package and Publish Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: |
current_package_version=$(node -p "require('./package.json').version")
npm run publish:marketplace
echo "Successfully published version $current_package_version to VS Code Marketplace"