File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
env :
10
10
config : Release
11
+ PackageOutputPath : nupkg
11
12
12
13
jobs :
13
14
build-test-publish :
37
38
run : dotnet test -c ${{ env.config }} --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[Octokit.GraphQL]Octokit.GraphQL.*" .\Octokit.GraphQL.Core.Generation.UnitTests\Octokit.GraphQL.Core.Generation.UnitTests.csproj
38
39
39
40
- name : Create package using .nuspec
40
- run : dotnet pack pack.csproj --output .
41
+ run : dotnet pack pack.csproj --output ${{ env.PackageOutputPath }}
42
+
43
+ - name : Upload nupkg artifact
44
+ uses : actions/upload-artifact@v2
45
+ with :
46
+ name : nupkg
47
+ path : ${{ env.PackageOutputPath }}/*.nupkg
41
48
42
49
- name : Publish to GitHub Packages
43
50
if : github.ref == 'refs/heads/master'
You can’t perform that action at this time.
0 commit comments