Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gendelo3 authored Aug 1, 2024
1 parent 9c36355 commit 834b891
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 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

0 comments on commit 834b891

Please sign in to comment.