Skip to content

Commit

Permalink
Merge pull request #39 from FangkuaiYa/main
Browse files Browse the repository at this point in the history
fix build errors
  • Loading branch information
dabao40 authored Oct 2, 2024
2 parents 60aaa92 + e6e27f5 commit 7a65160
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 95 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,28 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.nuget/packages
~/.cache/bepinex
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x

- name: Build
run: dotnet build TheOtherRoles/TheOtherRoles.csproj --configuration Release

- name: Upload TheOtherRoles
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: TheOtherRoles.dll
path: TheOtherRoles/bin/Release/net6.0/TheOtherRoles.dll

path: TheOtherRoles/bin/Release/net6.0/TheOtherRoles.dll
Loading

0 comments on commit 7a65160

Please sign in to comment.