Skip to content

Commit

Permalink
run multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Sep 27, 2023
1 parent d4f6f11 commit 1dedd27
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: DotNet

on:
pull_request:
branches: [main]
push:
branches: [main]

env:
DOTNET_NOLOGO: true
Expand All @@ -19,29 +16,34 @@ jobs:
name: Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019, windows-2022]
cache: [true, false]
n: [1,2,3,4,5,6,7,8,9,10]
#os: [ubuntu-latest, macos-latest, windows-2019, windows-2022]
os: [windows-2019, windows-2022]
# cache: [true, false]
fail-fast: false
steps:
- name: Checkout
if: ${{ false }}
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Cache NuGet packages
if: matrix.cache
# if: matrix.cache
if: ${{ false }}
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: ${{ runner.os }}-nuget-

- name: Setup DotNet 6
uses: jetersen/setup-dotnet@fix/usePwsh
uses: akv-platform/setup-dotnet@main
with:
dotnet-version: 6.0.x

- name: DotNet restore
if: ${{ false }}
run: |
dotnet new nugetconfig
dotnet restore -v n

0 comments on commit 1dedd27

Please sign in to comment.