From 02e2b7a74e93519c72bcf2f60a2ee7406445e9bf Mon Sep 17 00:00:00 2001 From: "d.novikov" Date: Wed, 14 Aug 2024 11:30:05 +0300 Subject: [PATCH] bit fixes --- .github/workflows/actions.yml | 4 ++-- build.cake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 068e77be..3ec29b6b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -42,7 +42,7 @@ jobs: if-no-files-found: error publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: build_and_test if: startsWith(github.event.ref, 'refs/tags/version') steps: @@ -54,7 +54,7 @@ jobs: uses: actions/setup-dotnet@v2 with: dotnet-version: 6.x - + - name: Download artifacts uses: actions/download-artifact@v3 with: diff --git a/build.cake b/build.cake index cfc02b66..38d4bebf 100644 --- a/build.cake +++ b/build.cake @@ -29,7 +29,7 @@ var packageVersion = ""; Setup(context => { - if (BuildSystem.IsRunningOnGitHubActions) + if (BuildSystem.IsRunningOnGitHubActions && BuildSystem.GitHubActions.Environment.PullRequest.IsPullRequest) { needSigning = false; return;