File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
.github/actions/opendaq-github-download-artifact Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,15 @@ runs:
1818 - name : Download openDAQ artifact
1919 shell : bash
2020 run : |
21- DEST=$(echo "${{ inputs.destination-dir }}" | sed 's|\\|/|g')
22- ARTIFACT_DIR= "$DEST/${{ inputs.opendaq-artifact-name }}"
21+ DEST="${{ inputs.destination-dir }}"
22+ DEST=$(echo "$DEST" | sed 's|\\|/|g')
2323
24- gh run download ${{ inputs.opendaq-artifact-run-id }} \
24+ ARTIFACT_NAME="${{ inputs.opendaq-artifact-name }}"
25+ ARTIFACT_DIR="$DEST/$ARTIFACT_NAME"
26+
27+ gh run download "${{ inputs.opendaq-artifact-run-id }}" \
2528 --repo openDAQ/openDAQ \
26- --pattern ${{ inputs.opendaq-artifact-name }} \
29+ --pattern "$ARTIFACT_NAME" \
2730 --dir "$DEST"
2831
2932 echo "$ARTIFACT_DIR/"
You can’t perform that action at this time.
0 commit comments