Skip to content

Commit

Permalink
💚 Fix artifact name generation in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtani committed Dec 18, 2023
1 parent 4094d30 commit 5274295
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,16 @@ jobs:
- name: Run test ${{ matrix.tag }}
run: pytest --git-aware --tag ${{ matrix.tag }} --kwd --basetemp /tmp/ci tests/tasks

- name: Prepare artifact name
id: prepare_artifact_name
run: |
# This will replace slashes with dashes
safe_artifact_name=$(echo "${{ matrix.tag }}" | sed 's:/:-:g')
echo "safe_artifact_name=$safe_artifact_name" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tag }}-command
name: ${{ env.safe_artifact_name }}-command
path: /tmp/ci/**/command

release:
Expand Down
2 changes: 1 addition & 1 deletion tasks/happy/happy.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ task HAPPY {
~{query_vcf} \
~{"--reference " + fasta} \
~{"--threads " + cpus} \
~{"--T " + targets_bed } \
~{"--R " + regions_bed } \
~{"--T " + targets_bed } \
~{"--false-positives " + false_positives_bed} \
~{"--stratification " + stratification_tsv} \
-o ~{prefix}
Expand Down

0 comments on commit 5274295

Please sign in to comment.