Add concurrency groups to GitHub Actions workflows (#721)
| | |
| | | contents: read |
| | | |
| | | concurrency: |
| | | group: benchmark-${{ github.ref }} |
| | | group: ${{ github.workflow }}-${{ github.ref }} |
| | | cancel-in-progress: true |
| | | |
| | | defaults: |
| | |
| | | branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ] |
| | | pull_request: |
| | | |
| | | concurrency: |
| | | group: ${{ github.workflow }}-${{ github.ref }} |
| | | cancel-in-progress: true |
| | | |
| | | jobs: |
| | | build-maven: |
| | | runs-on: ${{ matrix.os }} |
| | |
| | | # The contents of this file are subject to the terms of the Common Development and |
| | | # Distribution License (the License). You may not use this file except in compliance with the |
| | | # License. |
| | | # |
| | | # You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the |
| | | # specific language governing permission and limitations under the License. |
| | | # |
| | | # When distributing Covered Software, include this CDDL Header Notice in each file and include |
| | | # the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL |
| | | # Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | # information: "Portions copyright [year] [name of copyright owner]". |
| | | # |
| | | # Copyright 2021-2026 3A Systems, LLC. |
| | | |
| | | name: Package/Deploy |
| | | |
| | | on: |
| | |
| | | branches: [ 'sustaining/4.10.x','master' ] |
| | | workflows: ["Build","Release"] |
| | | types: [completed] |
| | | |
| | | concurrency: |
| | | group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }} |
| | | cancel-in-progress: false |
| | | |
| | | jobs: |
| | | package-deploy-maven: |
| | | if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event=='push'}} |
| | |
| | | # The contents of this file are subject to the terms of the Common Development and |
| | | # Distribution License (the License). You may not use this file except in compliance with the |
| | | # License. |
| | | # |
| | | # You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the |
| | | # specific language governing permission and limitations under the License. |
| | | # |
| | | # When distributing Covered Software, include this CDDL Header Notice in each file and include |
| | | # the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL |
| | | # Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | # information: "Portions copyright [year] [name of copyright owner]". |
| | | # |
| | | # Copyright 2022-2026 3A Systems, LLC. |
| | | |
| | | name: Release |
| | | |
| | | on: |
| | |
| | | description: "Default version to use for new local working copy." |
| | | required: true |
| | | default: "X.Y.Z-SNAPSHOT" |
| | | |
| | | concurrency: |
| | | group: ${{ github.workflow }}-${{ github.ref }} |
| | | cancel-in-progress: false |
| | | |
| | | jobs: |
| | | release-maven: |
| | | runs-on: 'ubuntu-latest' |