File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ jobs:
23
23
run : dotnet restore LibGit2Sharp.sln
24
24
- name : Build
25
25
run : dotnet build --no-restore LibGit2Sharp.sln
26
- - name : Short Sha
27
- id : short-sha
28
- run : echo "::set-output name=short_sha::$(echo ${GITHUB_SHA} | cut -c1-10)"
29
26
- name : Pack
30
27
run : |
31
28
echo running on branch $(echo ${GITHUB_SHA} | cut -c1-10)
32
29
dotnet pack --include-symbols -c Release LibGit2Sharp.sln
33
30
ls ./bin/Packages/Release/
34
- mv ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview.nupkg ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{steps.short-sha.outputs.short_sha}}.nupkg
31
+
32
+ - name : Short Sha
33
+ id : short-sha
34
+ run : echo "::set-output name=short_sha::$(echo ${GITHUB_SHA} | cut -c1-10)"
35
35
36
36
- name : Push generated package to GitHub registry
37
37
run : dotnet nuget push ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{steps.short-sha.outputs.short_sha}}.nupkg --source https://nuget.pkg.github.com/dotdevelop --api-key ${{github.token}} --skip-duplicate --no-symbols true
You can’t perform that action at this time.
0 commit comments