Skip to content

Commit

Permalink
bit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyNovikov89 committed Aug 14, 2024
1 parent 04df7dc commit 02e2b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x

- name: Download artifacts
uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var packageVersion = "";

Setup(context =>
{
if (BuildSystem.IsRunningOnGitHubActions)
if (BuildSystem.IsRunningOnGitHubActions && BuildSystem.GitHubActions.Environment.PullRequest.IsPullRequest)
{
needSigning = false;
return;
Expand Down

0 comments on commit 02e2b7a

Please sign in to comment.