Skip to content

Commit 9524800

Browse files
committed
4th attempt github package push
1 parent 91f01c1 commit 9524800

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,18 @@ jobs:
4747
dotnet test src/bunit.xunit.tests/ -c Release --no-restore --verbosity normal /nowarn:CS1591
4848
- name: Creating library package
4949
run: |
50-
dotnet pack src/bunit.core/ -c Release -o ${GITHUB_WORKSPACE}/lib -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
51-
dotnet pack src/bunit.web/ -c Release -o ${GITHUB_WORKSPACE}/lib -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
52-
dotnet pack src/bunit.xunit/ -c Release -o ${GITHUB_WORKSPACE}/lib -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
53-
dotnet pack src/bunit/ -c Release -o ${GITHUB_WORKSPACE}/lib -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
50+
dotnet pack src/bunit.core/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
51+
dotnet pack src/bunit.web/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
52+
dotnet pack src/bunit.xunit/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
53+
dotnet pack src/bunit/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=$BRANCH -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
5454
- name: Buidling template package
55-
run: dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/templates
55+
run: dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages
5656
- name: Verifying template
5757
run: |
58-
dotnet new --install ${GITHUB_WORKSPACE}/templates/bunit.template.$VERSION.nupkg
58+
dotnet new --install ${GITHUB_WORKSPACE}/packages/bunit.template.$VERSION.nupkg
5959
dotnet new bunit --no-restore -o ${GITHUB_WORKSPACE}/Test
60-
dotnet restore ${GITHUB_WORKSPACE}/Test/Test.csproj --source ${GITHUB_WORKSPACE}/lib
60+
dotnet restore ${GITHUB_WORKSPACE}/Test/Test.csproj --source ${GITHUB_WORKSPACE}/packages
6161
dotnet test ${GITHUB_WORKSPACE}/Test
6262
- name: Push packages to GitHub Packages
6363
run: |
64-
dotnet nuget push ${GITHUB_WORKSPACE}/lib/*.nupkg --skip-duplicate
65-
dotnet nuget push ${GITHUB_WORKSPACE}/template/*.nupkg --skip-duplicate
64+
dotnet nuget push '${GITHUB_WORKSPACE}/packages/*.nupkg' --skip-duplicate

0 commit comments

Comments
 (0)