Skip to content

Commit

Permalink
wf: bad windows 2
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Apr 19, 2021
1 parent c886753 commit 7119dda
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,11 @@ jobs:
dotnet pack -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
dotnet pack src/bunit.template/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
# Excluding windows because actions on windows doesnt seem to do variable replacement correct, e.g.:
# /packages/bunit.template.$VERSION.nupkg becomes
# /packages/bunit.template..nupkg but should be
# /packages/bunit.template.x.x.x.nupkg where x.x.x is the current version.
# Excluding windows because the restore step doesnt seem to work correct.
- name: ✔ Verify template
if: matrix.os != 'windows-latest'
run: |
dotnet new --install ${GITHUB_WORKSPACE}/packages/bunit.template.$VERSION.nupkg
dotnet new --install bunit.template --nuget-source ${GITHUB_WORKSPACE}/packages
dotnet new bunit --no-restore -o ${GITHUB_WORKSPACE}/TemplateTest
dotnet restore ${GITHUB_WORKSPACE}/TemplateTest --source ${GITHUB_WORKSPACE}/packages --source https://api.nuget.org/v3/index.json
dotnet test ${GITHUB_WORKSPACE}/TemplateTest
Expand Down

0 comments on commit 7119dda

Please sign in to comment.