Skip to content

Commit

Permalink
Faster builds by using older Windows (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuo13 authored Dec 20, 2023
1 parent 5c6f43b commit 4bf0fb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
build:
name: Windows Forms
runs-on: windows-latest
runs-on: windows-2019
timeout-minutes: 10

env:
Expand All @@ -40,6 +40,11 @@ jobs:
Write-Host "Setting assembly version to $($xml.Project.PropertyGroup.Version)"
$xml.Save($csproj)
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- name: Restore dependencies
run: dotnet restore

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: windows-latest
runs-on: windows-2019
permissions:
actions: read
contents: read
Expand All @@ -30,6 +30,11 @@ jobs:
with:
languages: csharp

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- name: Restore dependencies
run: dotnet restore

Expand Down

0 comments on commit 4bf0fb4

Please sign in to comment.