Skip to content

Commit

Permalink
fix dotnet versions on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Oct 10, 2024
1 parent 4c03086 commit 70181ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ jobs:
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- name: Setup .NET 6.0
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.427
dotnet-version: 8.0.403

- if: matrix.build-mode == 'manual'
shell: bash
- shell: bash
run: dotnet build --configuration Release -v:m

- name: Perform CodeQL Analysis
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1.8.2
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.100
dotnet-version: 8.0.403

- name: Build and Test with dotnet
run: NONET461=true dotnet test --configuration Release -v:m | grep -v 'NAME_UNKNOWN:Package'
- shell: bash
run: dotnet build --configuration Release -v:m

0 comments on commit 70181ba

Please sign in to comment.