diff --git a/.github/workflows/changeset-ai-releases.yml b/.github/workflows/changeset-ai-releases.yml index cf22faa..d7e7310 100644 --- a/.github/workflows/changeset-ai-releases.yml +++ b/.github/workflows/changeset-ai-releases.yml @@ -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 }} diff --git a/.github/workflows/temp-marketplace-publish.yml b/.github/workflows/temp-marketplace-publish.yml new file mode 100644 index 0000000..a98aca3 --- /dev/null +++ b/.github/workflows/temp-marketplace-publish.yml @@ -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"