Skip to content

Commit

Permalink
Testing 5
Browse files Browse the repository at this point in the history
  • Loading branch information
aheintz committed Aug 20, 2024
1 parent 25e8619 commit 4f439cb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,8 @@ jobs:
- name: Extract branch name if release
shell: bash
run: echo "BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)"
- name: Extract branch name if not release
if: !startsWith(github.ref, 'refs/heads/release')
shell: bash
run: echo "BRANCH=0.0.1" >> $GITHUB_ENV
id: extract_branch_version
- name: Build
run: dotnet build --no-restore -c Release /property:Version=${{ env.BRANCH }}
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --filter "TestCategory!=Integration"
- name: Publish
Expand Down

0 comments on commit 4f439cb

Please sign in to comment.