diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 05f7e498..f28ec1ec 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -38,7 +38,7 @@ jobs: name: "Build binaries" runs-on: ${{ matrix.info.os }} container: ${{ matrix.info.container }} - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: @@ -230,7 +230,7 @@ jobs: build-msi: name: "Build MSI installer" runs-on: "windows-2019" - timeout-minutes: 10 + timeout-minutes: 12 steps: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -281,7 +281,7 @@ jobs: build-cirrus: name: "Build using Cirrus CI" runs-on: "ubuntu-latest" - timeout-minutes: 10 + timeout-minutes: 12 steps: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -319,7 +319,7 @@ jobs: build-deb: name: "Build .deb software packages" runs-on: "ubuntu-20.04" - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: @@ -448,7 +448,7 @@ jobs: name: "Build .rpm software packages" runs-on: ubuntu-latest container: ghcr.io/clementtsang/almalinux-8 - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9aec7985..eefb41fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: needs: pre-job if: ${{ needs.pre-job.outputs.should_skip != 'true' }} runs-on: ${{ matrix.info.os }} - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: @@ -143,7 +143,7 @@ jobs: needs: pre-job runs-on: ${{ matrix.info.os }} if: ${{ needs.pre-job.outputs.should_skip != 'true' }} - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5fee6466..195fa6dd 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -37,7 +37,7 @@ jobs: needs: pre-job if: ${{ needs.pre-job.outputs.should_skip != 'true' }} runs-on: ${{ matrix.info.os }} - timeout-minutes: 10 + timeout-minutes: 12 strategy: fail-fast: false matrix: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index be98c549..91e075d6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -20,8 +20,9 @@ env: CARGO_HUSKY_DONT_INSTALL_HOOKS: true jobs: - # Check if things should be skipped. - pre-job: + # Check if things should be skipped, or if this is a mock job. + initialize-job: + name: initialize-job runs-on: ubuntu-latest outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} @@ -33,17 +34,11 @@ jobs: skip_after_successful_duplicate: "true" do_not_skip: '["workflow_dispatch"]' - initialize-job: - name: initialize-job - needs: pre-job - if: ${{ needs.pre-job.outputs.should_skip != 'true' }} - runs-on: ubuntu-latest - steps: - name: Check if mock run: | if [[ -z "${{ github.event.inputs.isMock }}" ]]; then echo "This is a scheduled nightly run." - elif [[ "${{ github.event.inputs.isMock }}" == true ]]; then + elif [[ "${{ github.event.inputs.isMock }}" == "true" ]]; then echo "This is a mock run." else echo "This is NOT a mock run. Watch for the generated files!"