From 352827e6098e7862054dadba837ce64b74162f97 Mon Sep 17 00:00:00 2001 From: carlosuc3m <49989524+carlosuc3m@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:46:09 +0100 Subject: [PATCH] remove pending mat --- .github/workflows/bioimageio_ci.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/bioimageio_ci.yml b/.github/workflows/bioimageio_ci.yml index 24d295b5..df268608 100644 --- a/.github/workflows/bioimageio_ci.yml +++ b/.github/workflows/bioimageio_ci.yml @@ -20,33 +20,6 @@ jobs: outputs: version_matrix: ${{ steps.cvm.outputs.version_matrix }} pending_empty: ${{ steps.pending_empty.outputs.is_empty }} - steps: - - name: is pending matrix empty? - id: pending_empty - shell: python - run: | - import json - import os - pm = json.loads('${{ github.event.inputs.pending_matrix }}') - with open(os.environ['GITHUB_OUTPUT'], 'a') as fh: - print(f"is_empty={'no' if pm['include'] else 'yes'}", file=fh) - - name: download version list - if: steps.pending_empty.outputs.is_empty == 'no' - run: wget https://files.ilastik.org/ilastik-versions-bmz.json - - name: create version matrix - if: steps.pending_empty.outputs.is_empty == 'no' - id: cvm - shell: python - run: | - import json - import os - - with open("ilastik-versions-bmz.json") as f: - vs = json.load(f) - - version_matrix = dict(include=[dict(v=v, env_url=f"https://files.ilastik.org/ilastik-{v}-Linux.yml") for v in vs]) - with open(os.environ["GITHUB_OUTPUT"], "a") as fh: - print(f"version_matrix={version_matrix}", file=fh) run: runs-on: ubuntu-latest