mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2024-10-16 14:56:49 +03:00
Debugging Actions
This commit is contained in:
parent
14392ee63e
commit
d88c9fa23a
9
.github/workflows/dotnet.yml
vendored
9
.github/workflows/dotnet.yml
vendored
@ -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 .
|
Loading…
Reference in New Issue
Block a user