File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed 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 Assembly-CSharp
34+ working-directory : ${{ env.ReferencePath }}
35+ run : mv Assembly-CSharp-Publicized.dll Assembly-CSharp.dll
36+
37+ - name : Build
38+ run : dotnet build -c:Release -o Output
39+
40+ - name : Upload Assets
41+ uses : softprops/action-gh-release@v2
42+ with :
43+ files : Output/ScpProximityChat*.dll,Output/ScpProximityChat*.xml
You can’t perform that action at this time.
0 commit comments