diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f6523a..302a963 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,9 +39,8 @@ jobs: build: strategy: matrix: - platform: [ubuntu-latest, macos-latest] - needs: [lint_and_format_check] - runs-on: ${{ matrix.platform }} + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: Install freetype and fontconfig for macOS if: ${{ runner.os == 'macOS' }} @@ -89,7 +88,6 @@ jobs: check_deps_version: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - needs: [build] runs-on: ubuntu-latest steps: - name: Checkout code @@ -124,8 +122,7 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') strategy: matrix: - platform: [ubuntu-latest, macos-latest] - needs: [check_deps_version] + os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Install freetype and fontconfig for macOS @@ -156,7 +153,7 @@ jobs: create_release: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - needs: [release_build] + needs: [lint_and_format_check, build, check_deps_version, release_build] runs-on: ubuntu-latest outputs: release_upload_url: ${{ steps.release.outputs.upload_url }}