Skip to content

WIP: Custom Command handling #304

WIP: Custom Command handling

WIP: Custom Command handling #304

Workflow file for this run

name: Pull Request CI
on:
pull_request:
branches:
- '**'
jobs:
build:
runs-on: windows-latest
env:
REFERENCES_URL: https://exmod-team.github.io/SL-References/Dev.zip
REFERENCES_PATH: ${{ github.workspace }}/References
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Dotnet
uses: actions/[email protected]
- name: Download References
shell: pwsh
run: |
Invoke-WebRequest -Uri ${{ env.REFERENCES_URL }} -OutFile "${{ github.workspace }}/References.zip"
Expand-Archive -Path "${{ github.workspace }}/References.zip" -DestinationPath ${{ env.REFERENCES_PATH }}
- name: Rename Assembly-CSharp-Publicized to Assembly-CSharp
shell: pwsh
run: Rename-Item -Path "${{ env.REFERENCES_PATH }}\Assembly-CSharp-Publicized.dll" -NewName "Assembly-CSharp.dll"
- name: Build
env:
SL_REFERENCES: ${{ env.REFERENCES_PATH }}
shell: pwsh
run: dotnet build -c Release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Build Result
path: ${{ github.workspace }}/**/bin/Release/net48/*SecretAPI*.dll
retention-days: 7