@@ -2,41 +2,49 @@ name: Release
22
33on :
44 push :
5- tags :
6- - " v*"
7-
8- permissions :
9- contents : write
5+ tags : ["v*"]
106
117jobs :
12- build :
8+ publish-wally :
139 runs-on : ubuntu-latest
14-
1510 steps :
16- - name : Checkout
17- uses : actions/checkout@v4
11+ - uses : actions/checkout@v4
1812
1913 - name : Install Rokit
2014 uses : CompeyDev/setup-rokit@v0.1.2
2115
22- - name : Check formatting
23- run : stylua --check src/ test/ bench/
16+ - name : Publish to Wally
17+ env :
18+ WALLY_AUTH : ${{ secrets.WALLY_AUTH }}
19+ run : wally publish
20+
21+ publish-npm :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : 20
29+ registry-url : https://registry.npmjs.org
30+
31+ - run : npm publish --access public
32+ env :
33+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2434
25- - name : Build Lync.rbxm
26- run : rojo build default.project.json -o Lync.rbxm
35+ github-release :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v4
2739
28- - name : Build Lync-dev.rbxl
29- run : rojo build dev.project.json -o Lync-dev.rbxl
40+ - name : Install Rokit
41+ uses : CompeyDev/setup-rokit@v0.1.2
3042
31- - name : Build Lync-bench.rbxl
32- run : rojo build bench .project.json -o Lync-bench.rbxl
43+ - name : Build rbxm
44+ run : rojo build default .project.json -o lync.rbxm
3345
34- - name : Release
46+ - name : Create Release
3547 uses : softprops/action-gh-release@v2
3648 with :
37- name : Lync ${{ github.ref_name }}
38- files : |
39- Lync.rbxm
40- Lync-dev.rbxl
41- Lync-bench.rbxl
42- generate_release_notes : false
49+ files : lync.rbxm
50+ generate_release_notes : true
0 commit comments