Skip to content

14.2

14.2 #1

Workflow file for this run

name: Release
on:
release:
types: [ created ]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
env:
ReferenceUrl: https://exmod-team.github.io/SL-References/Dev.zip
ReferencePath: ${{ github.workspace }}/References
steps:
- uses: actions/checkout@v4
- name: Set Up .NET
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: 9.0.x
- name: Download References
run: |
wget -O "References.zip" ${{ env.ReferenceUrl }}
unzip -d ${{ env.ReferencePath }} "References.zip"
- name: Rename Publicized Assemblies
working-directory: ${{ env.ReferencePath }}
run: |
mv Assembly-CSharp-Publicized.dll Assembly-CSharp.dll
mv Mirror-Publicized.dll Mirror.dll
- name: Download SCPSL-Helpers
uses: robinraju/release-downloader@v1.12
with:
repository: "Axwabo/SCPSL-Helpers"
latest: true
fileName: '*'
out-file-path: ${{ env.ReferencePath }}
- name: Build
run: dotnet build Axwabo.CommandSystem -c Release -o Output
- name: Upload Assets
uses: softprops/action-gh-release@v2
with:
files: "Output/Axwabo.CommandSystem.dll,Output/Axwabo.CommandSystem.xml"