Skip to content

Commit

Permalink
fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Jan 13, 2025
1 parent 5b1e5c8 commit 0efd46e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
outputs:
# Expose detected tags as 'modules' and 'workflows' output variables
paths: ${{ steps.list.outputs.components }}
modules: ${{ steps.outputs.outputs.modules }}
subworkflows: ${{ steps.outputs.outputs.subworkflows}}
modules: ${{ steps.components.outputs.modules }}
subworkflows: ${{ steps.components.outputs.subworkflows}}
# Prod for version bumping
steps:
- name: Clean Workspace # Purge the workspace in case it's running on a self-hosted runner
Expand All @@ -65,15 +65,15 @@ jobs:
exclude_tags: "gpu"

- name: Separate modules and subworkflows
id: outputs
id: components
run: |
echo modules=$(echo '${{ steps.list.outputs.components }}' | jq -c '. | map(select(contains("modules"))) | map(gsub("modules/nf-core/"; ""))') >> $GITHUB_OUTPUT
echo subworkflows=$(echo '${{ steps.list.outputs.components }}' | jq '. | map(select(contains("subworkflows"))) | map(gsub("subworkflows/nf-core/"; ""))') >> $GITHUB_OUTPUT
- name: debug
run: |
echo ${{ steps.list.outputs.components }}
echo ${{ steps.outputs.outputs.modules }}
echo ${{ steps.outputs.outputs.subworkflows }}
echo ${{ steps.components.outputs.modules }}
echo ${{ steps.components.outputs.subworkflows }}
- name: get number of shards
id: set-shards
Expand All @@ -82,7 +82,7 @@ jobs:
NFT_VER: ${{ env.NFT_VER }}
with:
max_shards: 15
paths: "${{ join(fromJson(needs.nf-test-changes.outputs.paths), ' ') }}"
paths: "${{ join(fromJson(steps.list.outputs.components ), ' ') }}"

filter-paths:
name: Filter paths
Expand Down

0 comments on commit 0efd46e

Please sign in to comment.