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 : Release
2+
3+ on :
4+ release :
5+ types : [ created ]
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+
12+ release :
13+ runs-on : ubuntu-latest
14+
15+ env :
16+ ReferenceUrl : https://exmod-team.github.io/SL-References/Dev.zip
17+ ReferencePath : ${{ github.workspace }}/References
18+
19+ steps :
20+
21+ - uses : actions/checkout@v4
22+
23+ - name : Set Up .NET
24+ uses : actions/setup-dotnet@v4.0.1
25+ with :
26+ dotnet-version : 9.0.x
27+
28+ - name : Download References
29+ run : |
30+ wget -O "References.zip" ${{ env.ReferenceUrl }}
31+ unzip -d ${{ env.ReferencePath }} "References.zip"
32+
33+ - name : Rename Publicized Assemblies
34+ working-directory : ${{ env.ReferencePath }}
35+ run : |
36+ mv Assembly-CSharp-Publicized.dll Assembly-CSharp.dll
37+ mv Mirror-Publicized.dll Mirror.dll
38+
39+ - name : Download SCPSL-Helpers
40+ uses : robinraju/release-downloader@v1.12
41+ with :
42+ repository : " Axwabo/SCPSL-Helpers"
43+ latest : true
44+ fileName : ' *'
45+ out-file-path : ${{ env.ReferencePath }}
46+
47+ - name : Build
48+ run : dotnet build Axwabo.CommandSystem -c Release -o Output
49+
50+ - name : Upload Assets
51+ uses : softprops/action-gh-release@v2
52+ with :
53+ files : " Output/Axwabo.CommandSystem.dll,Output/Axwabo.CommandSystem.xml"
You can’t perform that action at this time.
0 commit comments