Skip to content

Added an argument to the dummy ExPlayer constructor which specifies if the dummy should be hidden from the player list (and improved the IsNpc property) #254

Added an argument to the dummy ExPlayer constructor which specifies if the dummy should be hidden from the player list (and improved the IsNpc property)

Added an argument to the dummy ExPlayer constructor which specifies if the dummy should be hidden from the player list (and improved the IsNpc property) #254

Workflow file for this run

name: Build
run-name: ${{ github.event.head_commit.message }}
on:
push:
branches: [ "master", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
env:
LABEX_REFERENCES: "/home/runner/work/refs"
SL_REFERENCES: "/home/runner/work/refs"
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Download Dependencies
run: wget https://github.com/marchellc/LabExtended/raw/refs/heads/refs/refs.rar
- name: Install RAR
run: sudo apt install -y rar
- name: Move RAR
run: cp refs.rar /home/runner/work/
- name: Delete RAR
run: rm refs.rar
- name: Extract dependencies
run: cd /home/runner/work/ && rar x refs.rar
- name: CD back
run: cd /home/runner/work/LabExtended
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore --property WarningLevel=0
- name: Create artifacts
run: mkdir /home/runner/work/artifacts/ && cp ./LabExtended/bin/Release/net48/0LabExtended.dll /home/runner/work/artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v4.3.4
with:
name: labextended
path: /home/runner/work/artifacts/0LabExtended.dll
overwrite: true