Skip to content

Commit

Permalink
Debugging Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
colhountech committed Sep 6, 2021
1 parent 14392ee commit d88c9fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .

0 comments on commit d88c9fa

Please sign in to comment.