From eb94e9f3742e9cb6b5fbf7c2a5575acdbc0dd0b8 Mon Sep 17 00:00:00 2001 From: Mehdi Hadeli Date: Thu, 22 Aug 2024 18:49:44 +0330 Subject: [PATCH] ci: some ci change --- .github/workflows/publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2e497e9..3e6b781 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,8 +19,6 @@ env: jobs: # https://www.meziantou.net/publishing-a-nuget-package-following-best-practices-using-github.htm create-nuget: - if: ${{ contains(fromJson('["main"]'), github.ref_name) || github.event_name == 'release' }} - runs-on: ubuntu-latest steps: @@ -63,12 +61,11 @@ jobs: path: ${{ env.NuGetDirectory }}/*.nupkg deploy-nuget: - if: ${{ contains(fromJson('["main"]'), github.ref_name) || github.event_name == 'release' }} + runs-on: ubuntu-latest # Publish only when creating a GitHub Release # https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository # You can update this logic if you want to manage releases differently - runs-on: ubuntu-latest needs: [create-nuget] steps: - uses: actions/checkout@v3