Commit 486427d 1 parent fdc2d9a commit 486427d Copy full SHA for 486427d
File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,20 @@ jobs:
75
75
npx vsce package -o svn-scm-ovsx.vsix
76
76
npx ovsx publish svn-scm-ovsx.vsix -p ${{ secrets.ovsxToken }}
77
77
78
+ - name : ' Get tag'
79
+ if : startsWith(matrix.os, 'ubuntu') && matrix.version == 'stable' && github.ref == 'refs/heads/master' && github.repository == 'JohnstonCode/svn-scm'
80
+ id : getTag
81
+ uses : " WyriHaximus/github-action-get-previous-tag@master"
82
+ env :
83
+ GITHUB_TOKEN : " ${{ secrets.githubToken }}"
84
+
78
85
- name : Upload Open VSX to release
79
86
if : startsWith(matrix.os, 'ubuntu') && matrix.version == 'stable' && github.ref == 'refs/heads/master' && github.repository == 'JohnstonCode/svn-scm'
80
87
uses : svenstaro/upload-release-action@v2
81
88
with :
82
89
repo_token : ${{ secrets.githubToken }}
83
90
file : svn-scm-ovsx.vsix
84
- tag : ${{ github.ref }}
91
+ tag : ${{ steps.getTag.outputs.tag }}
85
92
86
93
eslint :
87
94
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments