This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- "*"
|
||||||
#tags:
|
|
||||||
# - "*"
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -28,15 +26,15 @@ jobs:
|
|||||||
run: npm -g i @vscode/vsce
|
run: npm -g i @vscode/vsce
|
||||||
- name: Build Package Files
|
- name: Build Package Files
|
||||||
run: npm run package
|
run: npm run package
|
||||||
# - name: Update package.json Version
|
- name: Update package.json Version
|
||||||
# run: npm version ${{ github.ref_name }} --no-git-tag-version
|
run: npm version ${{ github.ref_name }} --no-git-tag-version
|
||||||
# - name: Commit and Push Changes
|
- name: Commit and Push Changes
|
||||||
# run: |
|
run: |
|
||||||
# git config user.name "${{ vars.USERNAME_GIT }}"
|
git config user.name "${{ vars.USERNAME_GIT }}"
|
||||||
# git config user.email "${{ vars.EMAIL_GIT }}"
|
git config user.email "${{ vars.EMAIL_GIT }}"
|
||||||
# git add package.json
|
git add package.json
|
||||||
# git commit -m "Update version to ${{ github.ref_name }}"
|
git commit -m "Update version to ${{ github.ref_name }}"
|
||||||
# git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
- name: Publish to Visual Studio Marketplace
|
- name: Publish to Visual Studio Marketplace
|
||||||
run: vsce pack
|
run: vsce pack
|
||||||
env:
|
env:
|
||||||
@@ -44,7 +42,7 @@ jobs:
|
|||||||
- name: Upload VSIX to Release
|
- name: Upload VSIX to Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: "*.vsix"
|
files: "nx-post-support-*.vsix"
|
||||||
# generate_release_notes: true # Automatische Release Notes
|
# generate_release_notes: true # Automatische Release Notes
|
||||||
# draft: false # N
|
# draft: false # N
|
||||||
# prerelease: false
|
# prerelease: false
|
||||||
|
|||||||
Reference in New Issue
Block a user