Skip to content

Commit

Permalink
cleanup workflows on non-master branches
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Sep 26, 2024
1 parent fd5f5ce commit 7afe351
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/all-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }}

win-stable-build:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [pre-build, build-stone-wasm-stable]
uses: ./.github/workflows/build-win-binaries.yml
with:
Expand All @@ -73,6 +74,7 @@ jobs:
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }}

win-unstable-build:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [pre-build, build-stone-wasm-unstable]
uses: ./.github/workflows/build-win-binaries.yml
with:
Expand All @@ -84,6 +86,7 @@ jobs:
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }}

macos-stable-build:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [pre-build, build-stone-wasm-stable, build-volview-dist-stable]
uses: ./.github/workflows/build-macos-binaries.yml
with:
Expand All @@ -95,6 +98,7 @@ jobs:
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }}

macos-unstable-build:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [pre-build, build-stone-wasm-unstable, build-volview-dist-unstable]
uses: ./.github/workflows/build-macos-binaries.yml
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ jobs:
# if: inputs.is_tag == 'true'
# run: ./local-build.sh version=${{ inputs.stable_unstable }} platform=${{ inputs.platform }} image=full type=ci step=push currentTag=${{ inputs.current_branch_tag }}-full-${{ inputs.stable_unstable }} pushTag=latest-full isTag=${{ inputs.is_tag }}

- name: Setup tmate session
if: ${{ failure() && inputs.runner_type == 'github-hosted' }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
timeout-minutes: 20
# - name: Setup tmate session
# if: ${{ failure() && inputs.runner_type == 'github-hosted' }}
# uses: mxschmitt/action-tmate@v3
# with:
# limit-access-to-actor: true
# timeout-minutes: 20
12 changes: 6 additions & 6 deletions .github/workflows/build-macos-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }}

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
timeout-minutes: 20
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# with:
# limit-access-to-actor: true
# timeout-minutes: 20
12 changes: 6 additions & 6 deletions .github/workflows/build-win-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }}

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
timeout-minutes: 20
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# with:
# limit-access-to-actor: true
# timeout-minutes: 20
2 changes: 1 addition & 1 deletion build-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"integrationTests" : {
"comment": "# CHANGE_ORTHANC_TESTS_VERSION",
"stable": "default",
"unstable": "default"
"unstable": "find-refactoring"
},
"configs": [
{
Expand Down

0 comments on commit 7afe351

Please sign in to comment.