Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
axelheer committed May 1, 2021
1 parent 6387129 commit 40be741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
uses: actions/setup-dotnet@v1
- name: Create packages (w/o version suffix)
run: dotnet pack --configuration Release --output pkg
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') == true
- name: Create packages (w/ version suffix)
run: dotnet pack --configuration Release --output pkg --version-suffix preview.${{ github.run_number }}
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') != true
- name: Upload packages
uses: actions/upload-artifact@v1
with:
Expand Down Expand Up @@ -70,4 +70,4 @@ jobs:
path: .
- name: Publish packages
run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source nuget.org
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') == true

0 comments on commit 40be741

Please sign in to comment.