Skip to content

chore: ignore python/.vscode #120

chore: ignore python/.vscode

chore: ignore python/.vscode #120

Workflow file for this run

name: release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8.10'
- name: Install Poetry
uses: snok/install-poetry@v1.3.1
with:
version: 1.3.2
- name: Release Please
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
- name: Install dependencies
if: steps.release.outputs.release_created
run: npm ci
- name: Package VSIX
if: steps.release.outputs.release_created
run: npx @vscode/vsce package
- name: Publish on Visual Studio Code Extension Marketplace
if: steps.release.outputs.release_created
run: npx @vscode/vsce publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Upload VSIX to release assets
if: steps.release.outputs.release_created
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path:
vscode-qt-for-python-${{ steps.release.outputs.major }}.${{
steps.release.outputs.minor }}.${{ steps.release.outputs.patch
}}.vsix