Debugging Actions

This commit is contained in:
Micheal Colhoun 2021-09-06 09:35:53 +01:00
parent 14392ee63e
commit d88c9fa23a

View File

@ -30,6 +30,8 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Set VERSION variable from tag
run: echo "VERSION=1.0.0" #>> $GITHUB_ENV
- name: Build
run: dotnet build ${{env.SOLUTION}} --configuration ${{env.BUILD_CONFIG}} --no-restore
@ -39,7 +41,6 @@ jobs:
echo Home: $HOME
echo SOLUTION: ${{env.SOLUTION}}
echo BUILD_CONFIG: ${{env.BUILD_CONFIG}}
dir /s /b
- name: Publish nuget
run: dotnet nuget push "DarkUI\bin\Release\*nupkg" -s "github" -k ${{secrets.NUGET_PUBLISH}}
echo Version: $VERSION
- name: Pack
run: dotnet pack --configuration Release /p:Version=${VERSION} --output .