Skip to content

Commit bc6a1f2

Browse files
authoredMar 16, 2025
Fix solution path
1 parent c212185 commit bc6a1f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎.github/workflows/build-connyconsole.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will build a .NET project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3-
4-
name: .NET
1+
name: Build ConnyConsole
52

63
on:
74
push:
@@ -14,6 +11,9 @@ on:
1411
- "master"
1512
workflow_dispatch:
1613

14+
env:
15+
solutionPath: './src/ConnyConsole.sln'
16+
1717
jobs:
1818
build:
1919

@@ -26,6 +26,6 @@ jobs:
2626
with:
2727
dotnet-version: 9.0.x
2828
- name: Restore dependencies
29-
run: dotnet restore ./src/*.csproj
29+
run: dotnet restore ${{ env.solutionPath }}
3030
- name: Build
31-
run: dotnet build --no-restore ./src/*.csproj
31+
run: dotnet build --no-restore ${{ env.solutionPath }}

0 commit comments

Comments
 (0)
Failed to load comments.