Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lithiumtoast committed Aug 6, 2023
1 parent 22fd7da commit a5b601e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
build-job:
name: "Build"
needs: [cache-job]
if: {{ env.CACHE_HIT }} != 'true'
if: env.CACHE_HIT == 'true'
uses: "./.github/workflows/build.yml"

release-job:
name: "Release .NET solution"
needs: [build-job]
runs-on: ubuntu-latest
if: {{ env.CACHE_HIT }} != 'true'
if: env.CACHE_HIT != 'true'
steps:

- name: "Clone Git repository"
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
if: github.event_name == 'schedule'
env:
NUGET_ACCESS_TOKEN: ${{ secrets.NUGET_ACCESS_TOKEN }}
run: dotnet nuget push "./nupkg/**/*.nupkg" --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key $NUGET_ACCESS_TOKEN
run: dotnet nuget push "./nupkg/**/*.nupkg" --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key $NUGET_ACCESS_TOKEN

0 comments on commit a5b601e

Please sign in to comment.