Skip to content

Commit 39d22c6

Browse files
committed
feat: add build job for local project sources in GitHub Actions workflow
1 parent 7b169bd commit 39d22c6

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/build-job.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,21 @@ jobs:
3434
with:
3535
name: nuget-package
3636
path: "*.nupkg"
37+
38+
build against sources:
39+
runs-on: ubuntu-latest
40+
41+
steps:
42+
- name: 🗃️ Checkout
43+
uses: actions/checkout@v4
44+
45+
- name: 🔧 Setup .NET
46+
uses: actions/setup-dotnet@v4
47+
with:
48+
dotnet-version: ${{ inputs.dotnet-version }}
49+
50+
- name: 🔄 Restore
51+
run: dotnet restore
52+
53+
- name: 🏗️ Build
54+
run: dotnet build --configuration Release --no-restore /p:UseLocalProjects=true

0 commit comments

Comments
 (0)