From d3caa70dc90c6fe60bcfcff428373110d85444af Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 24 Apr 2023 13:46:43 -0400 Subject: [PATCH] use new platform logic --- .github/workflows/cd.yml | 7 ++----- .../AUTOMATIC1111/stable-diffusion-webui/package.yml | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0c541d9e..11a69238 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest outputs: has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }} + platforms: ${{ steps.has-artifacts.outputs.platforms }} steps: - uses: actions/checkout@v3 # ^^ NOTE probably no longer required but I don’t dare try to remove it @@ -30,11 +31,7 @@ jobs: strategy: fail-fast: false matrix: - platform: - - darwin+x86-64 - - linux+x86-64 - - darwin+aarch64 - - linux+aarch64 + platform: ${{ fromJson(needs.cd.outputs.platforms) }} needs: [cd] if: ${{ needs.cd.outputs.has-artifacts == 'true' }} uses: ./.github/workflows/bottle.yml diff --git a/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml b/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml index ee3f1f75..1f206fc5 100644 --- a/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml +++ b/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml @@ -8,6 +8,8 @@ versions: dependencies: python.org: ~3.10 +platform: darwin + build: dependencies: pip.pypa.io: '*'