Skip to content

Commit

Permalink
Update dotnet-core.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daltskin authored Dec 13, 2020
1 parent 2bae30b commit 8cc4d0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
# working-directory: src

- name: Package
run: dotnet pack --configuration Release --no-build -p:PackageVersion=${{ GITVERSION_SEMVER }}
run: dotnet pack --configuration Release --no-build -p:PackageVersion=$GITVERSION_SEMVER

# - name: Publish to github
# run: dotnet nuget push **/*.nupkg -s https://nuget.pkg.github.com/daltskin/index.json -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols true
# working-directory: src

- name: Publish to github (using curl)
run: curl -vX PUT -u "daltskin:${{ secrets.GITHUB_TOKEN }}" -F package=@SmartThingsNet.${{ GITVERSION_SEMVER }}.nupkg https://nuget.pkg.github.com/daltskin/
run: curl -vX PUT -u "daltskin:${{ secrets.GITHUB_TOKEN }}" -F package=@SmartThingsNet.$GITVERSION_SEMVER.nupkg https://nuget.pkg.github.com/daltskin/
working-directory: src/bin/Release

- name: Publish to nuget
Expand All @@ -68,5 +68,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ $GITVERSION_SEMVER }}
release_name: Release ${{ GITVERSION_SEMVER }}
tag_name: $$GITVERSION_SEMVER
release_name: Release $GITVERSION_SEMVER

0 comments on commit 8cc4d0a

Please sign in to comment.