This commit is contained in:
Joe Milazzo 2023-09-04 09:04:20 -07:00 committed by GitHub
parent bf493df364
commit 08ad8a66cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,10 +75,10 @@ jobs:
- name: Test - name: Test
run: dotnet test --no-restore --verbosity normal run: dotnet test --no-restore --verbosity normal
version: version:
name: Bump version on Develop/Canary push name: Bump version on Develop/Canary PR (and not coming from release/)
needs: [ build ] needs: [ build ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/canary') }} if: github.event_name == 'push' && (github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'refs/heads/canary') && !startsWith(github.event.pull_request.head.ref, 'release/')
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with: