Skip to content

Commit

Permalink
adjustments jellisy
Browse files Browse the repository at this point in the history
  • Loading branch information
RainOrigami committed Sep 8, 2023
1 parent 2d56d4c commit 2d2cc1d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
dotnet-version: 6.x

- name: NuGet Restore
run: nuget restore
run: dotnet restore

- name: Build and Publish project
run: dotnet publish BattleBitAPIRunner/BattleBitAPIRunner.csproj -c Release -o ./publish
Expand Down Expand Up @@ -72,12 +72,17 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 6.x

- name: Build project and check for errors on non-main branch commits
run: dotnet build --configuration Release --no-restore
run: |
dotnet build --configuration Release --no-restore
if [ $? -ne 0 ]; then
echo "Build failed"
exit 1
fi

0 comments on commit 2d2cc1d

Please sign in to comment.