diff --git a/.github/workflows/fetch_filter_resources.yaml b/.github/workflows/fetch_filter_resources.yaml index 65fcc820..887a7883 100644 --- a/.github/workflows/fetch_filter_resources.yaml +++ b/.github/workflows/fetch_filter_resources.yaml @@ -28,7 +28,7 @@ jobs: sudo apt-get install jq - name: Fetch list of all available servers run: | - python sources/bin/get_public_galaxy_servers.py -o sources/data/available_public_servers.csv + python sources/bin/get_public_galaxy_servers.py -o sources/data/available_public_servers.csv - name: Archive available servers uses: actions/upload-artifact@v4 with: @@ -37,6 +37,7 @@ jobs: fetch-tools-stepwise: runs-on: ubuntu-20.04 name: Fetch tool stepwise + needs: fetch-servers strategy: #max-parallel: 1 #need to run one after another, since otherwise there is a chance, that mulitple jobs want to push to the results branch at the same time (which fails due to merge) matrix: @@ -54,7 +55,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install requirement run: python -m pip install -r requirements.txt - - name: Download a single artifact + - name: Download available servers uses: actions/download-artifact@v4 with: name: available-servers @@ -71,6 +72,7 @@ jobs: path: communities/all/resources/repositories${{ matrix.subset }}.list_tools.tsv merge-fetch-filter: runs-on: ubuntu-20.04 + needs: fetch-tools-stepwise name: Merge tools, fetch tutorials and filter the resources for communities steps: - name: Checkout main