File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
.github/actions/opendaq-github-download-artifact Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1818 - name : Download openDAQ artifact
1919 shell : bash
2020 run : |
21- gh run download ${{ inputs.opendaq-artifact-run-id }} --repo openDAQ/openDAQ --pattern ${{ inputs.opendaq-artifact-name }} --dir ${{ inputs.destination-dir }}
22- echo ${{ inputs.destination-dir }}/${{ inputs.opendaq-artifact-name }}/
23- ls -la ${{ inputs.destination-dir }}/${{ inputs.opendaq-artifact-name }}/
21+ DEST=$(echo "${{ inputs.destination-dir }}" | sed 's|\\|/|g')
22+ ARTIFACT_DIR="$DEST/${{ inputs.opendaq-artifact-name }}"
23+
24+ gh run download ${{ inputs.opendaq-artifact-run-id }} \
25+ --repo openDAQ/openDAQ \
26+ --pattern ${{ inputs.opendaq-artifact-name }} \
27+ --dir "$DEST"
28+
29+ echo "$ARTIFACT_DIR/"
30+ ls -la "$ARTIFACT_DIR/"
You can’t perform that action at this time.
0 commit comments