Skip to content

Commit

Permalink
Add dependencies btw Github wf jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bebatut committed Sep 23, 2024
1 parent 68ac7f2 commit ad13158
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/fetch_filter_resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ad13158

Please sign in to comment.