Skip to content

Commit

Permalink
fix artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnn-airr committed Feb 13, 2024
1 parent 417f1b4 commit c0f8c0c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,17 @@ jobs:
- name: Run repcred
run: |
inst/repcred.R -r ${{ matrix.TEST_DATA }} -o outdir -d FALSE
- name: Create artifact name
run: |
test_data="${{ matrix.TEST_DATA }}"
artifact_name=$(echo -n "$test_data" | sed -e 's/\//_/g')
echo "ARTIFACT_NAME=$artifact_name" >> $GITHUB_ENV
- name: Archive results
uses: actions/upload-artifact@v3
with:
name: repcred-report_${{ matrix.TEST_DATA }}
name: "repcred-report_${{ env.ARTIFACT_NAME }}"
path: |
outdir/results
Expand Down

0 comments on commit c0f8c0c

Please sign in to comment.