afk应该不允许长时间不操作而掉线 #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Build Test | |
on: | |
push: | |
branches: [ "bepinex5" ] | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.x | |
- name: Restore dependencies | |
run: dotnet restore --locked-mode | |
- name: Build HsMod | |
run: dotnet build --configuration Release --no-restore | |
- name: Upload HsMod to artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: HsMod.dll | |
path: HsMod/Release/HsMod.dll |