File tree Expand file tree Collapse file tree 2 files changed +66
-33
lines changed Expand file tree Collapse file tree 2 files changed +66
-33
lines changed Original file line number Diff line number Diff line change 2424 path : |
2525 ./ValeLS*
2626 !./ValeLS/**/*.ts
27-
28- Release :
29- needs : Build
30- if : startsWith(github.ref, 'refs/tags/')
31- runs-on : ubuntu-latest
32- steps :
33- - name : Download Artifact
34- uses : actions/download-artifact@v4
35- with :
36- name : ValeLS
37-
38- - name : Archive Release
39- uses :
thedoctor0/[email protected] 40- with :
41- type : ' zip'
42- filename : ' ValeLS.zip'
43-
44- # Make a release
45- - name : Create Release
46- uses : softprops/action-gh-release@v2
47- id : create_release
48- with :
49- token : ${{ secrets.RELEASE_TOKEN }}
50- files : ValeLS.zip
51-
52- - name : Release on Extension Store
53- uses :
qt-creator/[email protected] 54- with :
55- api : ${{ secrets.EXTENSION_STORE_API_URL }}
56- token : ${{ secrets.EXTENSION_STORE_API_TOKEN }}
57- spec : ValeLS/ValeLS.lua
58- publish : true
59- download-url : ${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}
Original file line number Diff line number Diff line change 1+ name : Build plugin
2+ run-name : ${{ github.actor }} is building the plugin
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ environment :
7+ description : ' Environment to run against'
8+ type : environment
9+ required : true
10+
11+ jobs :
12+ Build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v1
16+ with :
17+ fetch-depth : 1
18+
19+ - uses : ConorMacBride/install-package@v1
20+ with :
21+ apt : qttools5-dev-tools
22+
23+ - name : Build translations
24+ working-directory : ValeLS/ts
25+ run : lrelease *.ts
26+
27+ - name : Create Artifact
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : ValeLS
31+ path : |
32+ ./ValeLS*
33+ !./ValeLS/**/*.ts
34+
35+ Release :
36+ needs : Build
37+ if : startsWith(github.ref, 'refs/tags/')
38+ runs-on : ubuntu-latest
39+ steps :
40+ - name : Download Artifact
41+ uses : actions/download-artifact@v4
42+ with :
43+ name : ValeLS
44+
45+ - name : Archive Release
46+ uses :
thedoctor0/[email protected] 47+ with :
48+ type : ' zip'
49+ filename : ' ValeLS.zip'
50+
51+ # Make a release
52+ - name : Create Release
53+ uses : softprops/action-gh-release@v2
54+ id : create_release
55+ with :
56+ token : ${{ secrets.RELEASE_TOKEN }}
57+ files : ValeLS.zip
58+
59+ - name : Release on Extension Store
60+ uses :
qt-creator/[email protected] 61+ with :
62+ api : ${{ secrets.EXTENSION_STORE_API_URL }}
63+ token : ${{ secrets.EXTENSION_STORE_API_TOKEN }}
64+ spec : ValeLS/ValeLS.lua
65+ publish : true
66+ download-url : ${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}
You can’t perform that action at this time.
0 commit comments