From eeefca09084fc643263bc194684a6bd2232002ed Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 8 Dec 2021 10:16:58 -0700 Subject: [PATCH] ci: add dependency from upload -> build job --- .github/workflows/gen_centos8_continuous.yml | 1 + .github/workflows/gen_debian10.3_continuous.yml | 1 + .github/workflows/gen_debian11_continuous.yml | 1 + .github/workflows/gen_debian9.12_continuous.yml | 1 + .github/workflows/gen_fedora33_continuous.yml | 1 + .github/workflows/gen_fedora34_continuous.yml | 1 + .github/workflows/gen_fedora35_continuous.yml | 1 + .github/workflows/gen_macos_continuous.yml | 1 + .github/workflows/gen_ubuntu18_continuous.yml | 1 + .github/workflows/gen_ubuntu20.04_continuous.yml | 1 + .github/workflows/gen_windows_continuous.yml | 1 + ci/generate-workflows.py | 1 + 12 files changed, 12 insertions(+) diff --git a/.github/workflows/gen_centos8_continuous.yml b/.github/workflows/gen_centos8_continuous.yml index aa1cc1bad..bfffeeb98 100644 --- a/.github/workflows/gen_centos8_continuous.yml +++ b/.github/workflows/gen_centos8_continuous.yml @@ -126,6 +126,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index 0fe5701d4..89e22a6f9 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -148,6 +148,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index 09e0b9f49..05156591c 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -148,6 +148,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_debian9.12_continuous.yml b/.github/workflows/gen_debian9.12_continuous.yml index a719a9ca9..6aa4b33af 100644 --- a/.github/workflows/gen_debian9.12_continuous.yml +++ b/.github/workflows/gen_debian9.12_continuous.yml @@ -161,6 +161,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_fedora33_continuous.yml b/.github/workflows/gen_fedora33_continuous.yml index d754445f7..5282cb596 100644 --- a/.github/workflows/gen_fedora33_continuous.yml +++ b/.github/workflows/gen_fedora33_continuous.yml @@ -121,6 +121,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_fedora34_continuous.yml b/.github/workflows/gen_fedora34_continuous.yml index 3d60ffca0..410aa8229 100644 --- a/.github/workflows/gen_fedora34_continuous.yml +++ b/.github/workflows/gen_fedora34_continuous.yml @@ -121,6 +121,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_fedora35_continuous.yml b/.github/workflows/gen_fedora35_continuous.yml index 99e33643c..95f711ba2 100644 --- a/.github/workflows/gen_fedora35_continuous.yml +++ b/.github/workflows/gen_fedora35_continuous.yml @@ -121,6 +121,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index 98352738b..e4f2f2a31 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -105,6 +105,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_ubuntu18_continuous.yml b/.github/workflows/gen_ubuntu18_continuous.yml index 44c1059d9..9a8ad569d 100644 --- a/.github/workflows/gen_ubuntu18_continuous.yml +++ b/.github/workflows/gen_ubuntu18_continuous.yml @@ -106,6 +106,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index a3728c2f4..a9126b555 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -148,6 +148,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index ffdc81990..8c6a9595f 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -80,6 +80,7 @@ jobs: upload: runs-on: ubuntu-latest + needs: build steps: - name: "Download artifact" uses: actions/download-artifact@v2 diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index d6a27fc2e..13c38da6b 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -706,6 +706,7 @@ jobs: """ upload: runs-on: ubuntu-latest + needs: build steps: """ )