diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2024-05-05 08:05:10 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2024-05-05 14:06:23 +0200 |
| commit | b3e9060178780b51c21b50c30f04f2b3d339164a (patch) | |
| tree | c3fc502e1b1945bbd2cc856ac94a2f945bdf11ab /.github/workflows | |
| parent | bf8bcc4c2d3b0b9c44bc7286b9377a9674b67186 (diff) | |
| download | rust-b3e9060178780b51c21b50c30f04f2b3d339164a.tar.gz rust-b3e9060178780b51c21b50c30f04f2b3d339164a.zip | |
CI: fix auto builds and make sure that we always have at least a single CI job
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c5330ec25d..5364c1e9f46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,14 +77,6 @@ jobs: matrix: # Check the `calculate_matrix` job to see how is the matrix defined. include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }} - # GitHub Actions fails the workflow if an empty list of jobs is provided to - # the workflow, so we need to skip this job if nothing was produced by - # the Python script. - # - # Unfortunately checking whether a list is empty is not possible in a nice - # way due to GitHub Actions expressions limits. - # This hack is taken from https://github.com/ferrocene/ferrocene/blob/d43edc6b7697cf1719ec1c17c54904ab94825763/.github/workflows/release.yml#L75-L82 - if: fromJSON(needs.calculate_matrix.outputs.jobs)[0] != null steps: - if: contains(matrix.os, 'windows') uses: msys2/setup-msys2@v2.22.0 |
