diff --git a/.gitea/workflows/build_and_puplish.yml b/.gitea/workflows/build_and_puplish.yml new file mode 100644 index 0000000..9c87c36 --- /dev/null +++ b/.gitea/workflows/build_and_puplish.yml @@ -0,0 +1,30 @@ +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' +jobs: + build_and_publish: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Install NodeJS + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: "Automated Version Bump" + uses: "phips28/gh-action-bump-version@master" + with: + tag-prefix: '' + - name: Install NPM + run: npm i + - name: Install VSCE + run: npm -g i @vscode/vsce + - name: Build Package Files + run: npm run package + - name: Publish to Visual Studio Marketplace + uses: HaaLeo/publish-vscode-extension@v1 + with: + pat: ${{ secrets.VSCODE_MARKETPALCE }} + registryUrl: https://marketplace.visualstudio.com + \ No newline at end of file