sample: make it work publish and fetch posts #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Library Build | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths: | |
- Threads.Lib/** | |
- Threads.Lib.Tests/** | |
pull_request: | |
branches: [main] | |
paths: | |
- Threads.Lib/** | |
- Threads.Lib.Tests/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build dotnet 8.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.0.x" | |
- run: dotnet restore | |
- run: dotnet build Threads.Lib -f net8.0 --configuration Release --no-restore | |
- run: dotnet test Threads.Lib.Tests -f net8.0 --no-restore |