Skip to content

Commit

Permalink
Update build-dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxing-yuan authored Nov 10, 2022
1 parent 648a7ca commit 9778515
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: tag-version
uses: julesabr/[email protected]
with:
production-branch: main
dev-branch: develop
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore "./src"
- name: Version Increment
uses: reecetech/[email protected]
with:
scheme: semver
increment: minor

- name: Build
run: dotnet build "./src" --no-restore --configuration Debug -p:Version=${{steps.version.outputs.version}}
- name: Pack
Expand Down

0 comments on commit 9778515

Please sign in to comment.