File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 with :
2424 node-version : " 16"
2525
26- - run : npm version ${{ github.event.inputs.version }}
26+ - name : Bump version and push
27+ run : |
28+ git config --global user.email "[email protected] " 29+ git config --global user.name "GitHub Actions"
30+
31+ npm version ${{ github.event.inputs.version }} --no-git-tag-version
32+ git add package.json package-lock.json
33+ git commit -m "Bump version to ${{ github.event.inputs.version }}"
34+
35+ git push
36+
2737 - run : npm ci
2838 - run : npm run package
2939
5969 pat : ${{ secrets.PUBLISHER_KEY }}
6070 registryUrl : https://marketplace.visualstudio.com
6171 extensionFile : ./vscode-github-actions-${{ github.event.inputs.version }}.vsix
62-
63- - name : Push version bump
64- run : |
65- git config --global user.email "[email protected] " 66- git config --global user.name "GitHub Actions"
67- git push
You can’t perform that action at this time.
0 commit comments