From 6c599aad295bb36c5609d3c63434044a3682d6b0 Mon Sep 17 00:00:00 2001 From: Gregor Dostal <10714600+Gh0stWalk3r@users.noreply.github.com> Date: Tue, 28 Nov 2023 00:40:52 +0100 Subject: [PATCH] ci: install missing .NET SDK (#80) disable auto-generation of GitHub Actions workflow --- .github/workflows/ci.yml | 3 +++ .github/workflows/publish.yml | 1 + src/build/FlashOWare.Tool.Build/Build.cs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 990d026..fd16510 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 + - uses: actions/setup-dotnet@v3 - name: 'Cache: .nuke/temp, ~/.nuget/packages' uses: actions/cache@v3 with: @@ -48,6 +49,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 + - uses: actions/setup-dotnet@v3 - name: 'Cache: .nuke/temp, ~/.nuget/packages' uses: actions/cache@v3 with: @@ -64,6 +66,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 + - uses: actions/setup-dotnet@v3 - name: 'Cache: .nuke/temp, ~/.nuget/packages' uses: actions/cache@v3 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ef0b586..7d6ea26 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 + - uses: actions/setup-dotnet@v3 - name: 'Cache: .nuke/temp, ~/.nuget/packages' uses: actions/cache@v3 with: diff --git a/src/build/FlashOWare.Tool.Build/Build.cs b/src/build/FlashOWare.Tool.Build/Build.cs index ed20a81..8debbcf 100644 --- a/src/build/FlashOWare.Tool.Build/Build.cs +++ b/src/build/FlashOWare.Tool.Build/Build.cs @@ -20,6 +20,7 @@ GitHubActionsImage.MacOs12, GitHubActionsImage.Ubuntu2204, GitHubActionsImage.WindowsServer2022, + AutoGenerate = false, OnPushBranches = new[] { "main" }, OnPullRequestBranches = new[] { "main" }, FetchDepth = 1, @@ -27,6 +28,7 @@ [GitHubActions( "publish", GitHubActionsImage.Ubuntu2204, + AutoGenerate = false, OnPushBranches = new[] { "publish" }, FetchDepth = 1, InvokedTargets = new[] { nameof(Publish) },