File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : windows-latest
11
11
12
12
steps :
13
- - name : Extract version from tag
14
- id : extract_version
15
- run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $env:GITHUB_ENV
16
- shell : pwsh
17
-
18
- - name : Verify extracted version
19
- run : echo "Extracted version is $env:VERSION ${{ github.ref_name }}"
20
- shell : pwsh
21
-
22
13
- name : Checkout code
23
14
uses : actions/checkout@v4
24
15
42
33
- name : Publish to NuGet
43
34
env :
44
35
NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
45
- run : dotnet nuget push ./output/Backtrace$PACKAGE_VERSION .nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
36
+ run : dotnet nuget push ./output/Backtrace${{ github.ref_name }} .nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments