diff options
author | Rayyan Ansari <rayyan@ansari.sh> | 2022-08-31 17:56:18 +0100 |
---|---|---|
committer | Rayyan Ansari <rayyan@ansari.sh> | 2022-08-31 17:56:18 +0100 |
commit | 80f76ef34dfc5d346a11977ad491479225566a35 (patch) | |
tree | b6bab4cba7187028fe827bf8b136cd52e365fb8d | |
parent | cac1ec8fbd89583aae8faa872fa0a887474f179a (diff) |
Fix dependencies between jobs
-rw-r--r-- | .github/workflows/build-macos-universal.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-macos-universal.yml b/.github/workflows/build-macos-universal.yml index 8ae536e..c7694ad 100644 --- a/.github/workflows/build-macos-universal.yml +++ b/.github/workflows/build-macos-universal.yml @@ -14,12 +14,13 @@ jobs: steps: - name: Clean workspace - run: shopt -s dotglob; rm -rf ${{runner.workspace}}/* + run: rm -rf ${{runner.workspace}}/build - uses: actions/checkout@v3 build-arm64: + needs: prepare runs-on: [self-hosted, macOS, ARM64] steps: @@ -35,6 +36,7 @@ jobs: run: arch -arm64 make -j$(sysctl -n hw.logicalcpu) build-x86_64: + needs: prepare runs-on: [self-hosted, macOS, ARM64] steps: @@ -50,6 +52,7 @@ jobs: run: arch -x86_64 make -j$(sysctl -n hw.logicalcpu) universal-binary: + needs: [build-arm64, build-x86_64] runs-on: [self-hosted, macOS, ARM64] steps: |