🔧 example config files housekept (#24) #225
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
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Setup .NET | |
uses: xt0rted/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update private NuGet source | |
run: | | |
dotnet nuget add source --name NoP77svk --username anyone --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text "https://nuget.pkg.github.com/nop77svk/index.json" \ | |
|| dotnet nuget update source NoP77svk --username anyone --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --source "https://nuget.pkg.github.com/nop77svk/index.json" | |
- name: Build | |
run: dotnet build -c Release | |
- name: Test | |
run: dotnet test -c Release |