File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ tags :
6+ - ' **'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ release :
13+ name : Draft Release
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v6
18+ with :
19+ path : d4_queue
20+ sparse-checkout : |
21+ docs
22+ server
23+ CHANGELOG.md
24+ CONTRIBUTING.md
25+ LICENSE
26+ README.md
27+ SECURITY.md
28+ fxmanifest.lua
29+ sparse-checkout-cone-mode : false
30+
31+ - name : Archive
32+ shell : bash
33+ run : |
34+ rm -rf ./d4_queue/.git
35+ zip -r d4_queue.zip ./d4_queue/
36+
37+ - name : Draft release
38+ uses : softprops/action-gh-release@v2
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ with :
42+ draft : true
43+ files : |
44+ ./*.zip
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+ pull_request :
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ lint :
14+ name : Lint
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v6
19+
20+ - name : Lint
21+ uses : iLLeniumStudios/fivem-lua-lint-action@v2
22+ with :
23+ fail_on_warnings : " true"
Original file line number Diff line number Diff line change 1+ TODO
Original file line number Diff line number Diff line change 1+ TODO
You can’t perform that action at this time.
0 commit comments