File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 82
82
with :
83
83
files : " ${{github.workspace}}/package.json"
84
84
patch-syntax : |
85
- = /version => "${{ steps.gitversion.outputs.semVer }}"
85
+ = /version => "${{ steps.gitversion.outputs.majorMinorPatch }}"
86
86
87
87
# If is a push, and the commit message does not contain the string
88
88
# '[release]', build as pre-release. (This is used in the final step.)
@@ -99,13 +99,13 @@ jobs:
99
99
- name : Upload .vsix as artifact
100
100
uses : actions/upload-artifact@v4
101
101
with :
102
- name : yarn-spinner-${{steps.gitversion.outputs.semVer }}.vsix
103
- path : ${{github.workspace}}/yarn-spinner-${{steps.gitversion.outputs.semVer }}.vsix
102
+ name : yarn-spinner-${{steps.gitversion.outputs.majorMinorPatch }}.vsix
103
+ path : ${{github.workspace}}/yarn-spinner-${{steps.gitversion.outputs.majorMinorPatch }}.vsix
104
104
105
105
# If this is a push to the main branch, publish to the Marketplace using our configuration.
106
106
- name : Publish to Marketplace
107
107
if : success() && github.ref == 'refs/heads/main' && github.event_name == 'push'
108
108
env :
109
109
VSCE_PAT : ${{ secrets.VSCE_PAT }}
110
110
run : |
111
- npx vsce publish ${{ env.RELEASE_FLAG }} -i ${{github.workspace}}/yarn-spinner-${{steps.gitversion.outputs.semVer }}.vsix
111
+ npx vsce publish ${{ env.RELEASE_FLAG }} -i ${{github.workspace}}/yarn-spinner-${{steps.gitversion.outputs.majorMinorPatch }}.vsix
You can’t perform that action at this time.
0 commit comments