Skip to content

Commit

Permalink
Merge pull request #7 from Zandario/ci/lib-env
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime authored Nov 6, 2023
2 parents 7550dc8 + cfc6f97 commit 31c1a51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
publish:
# 2019, has our .NET needs, latest does not
runs-on: windows-2019
env:
VERSION: ${{ github.event.release.tag_name }}
steps:
- uses: actions/checkout@v4
- name: Get version
run: |
echo "VERSION=${{ github.event.release.tag_name }}" >> $env:GITHUB_ENV
echo "Building with ${{ env.VERSION }}"
run: echo "Building with ${{ env.VERSION }}"
- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
Expand All @@ -25,4 +25,4 @@ jobs:
- name: Pack
run: dotnet pack Elements.Quantity --output nupkgs --configuration Release -p:Version=${{ env.VERSION }}
- name: Nuget Publish
run: dotnet nuget push nupkgs\*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json
run: dotnet nuget push nupkgs\*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json

0 comments on commit 31c1a51

Please sign in to comment.