Skip to content

Commit

Permalink
workflows bugfix concurrency
Browse files Browse the repository at this point in the history
Run gh workflow run only once, one matrix combination.
  • Loading branch information
silverqx committed Apr 21, 2024
1 parent e675ee1 commit 6720787
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux-qt6-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run vcpkg-linux.yml workflows
if: matrix.build-type.key == 'debug' && matrix.compiler.key == 'clang18'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run vcpkg-linux.yml --ref ${{ github.ref_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/msvc2022-qt6-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run vcpkg-windows.yml workflows
if: matrix.drivers-type == 'Shared' && matrix.build-type.key == 'debug'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run vcpkg-windows.yml --ref ${{ github.ref_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vcpkg-linux-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run analyzers.yml workflows
if: matrix.build-type.key == 'debug' && matrix.qt.key == 'qt6'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run analyzers.yml --ref ${{ github.ref_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vcpkg-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run vcpkg-linux-drivers.yml workflows
if: matrix.build-type.key == 'debug' && matrix.qt.key == 'qt6'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run vcpkg-linux-drivers.yml --ref ${{ github.ref_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vcpkg-windows-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run msys2-ucrt64-drivers.yml workflows
if: matrix.build-type.key == 'debug' && matrix.qt.key == 'qt6'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run msys2-ucrt64-drivers.yml --ref ${{ github.ref_name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vcpkg-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ jobs:
# one will be in_progress and the second will be queued (waiting until the first finish),
# and all others will be canceled.
- name: Run vcpkg-windows-drivers.yml workflows
if: matrix.build-type.key == 'debug' && matrix.qt.key == 'qt6'
working-directory: ${{ env.TinyORMPath }}
run: |
gh workflow run vcpkg-windows-drivers.yml --ref ${{ github.ref_name }}
Expand Down

0 comments on commit 6720787

Please sign in to comment.