File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 8585 conda build --croot=./pkgs ${{ inputs.conda-build-arguments }} ${{ inputs.conda-build-path }}
8686 echo "::endgroup::"
8787
88+ echo "::group::Find packages"
89+ PACKAGES=(
90+ $(
91+ find "./pkgs/${{ inputs.subdir }}" -type f \
92+ \( \
93+ -name "${{ inputs.package-name }}-*.tar.bz2" -o \
94+ -name "${{ inputs.package-name }}-*.conda" \
95+ \)
96+ )
97+ )
98+ echo "::endgroup::"
99+
88100 echo "::group::Uploading package"
89101 anaconda \
90102 --token="${{ inputs.anaconda-org-token }}" \
94106 --no-progress \
95107 --user="${{ inputs.anaconda-org-channel }}" \
96108 --label="${{ inputs.anaconda-org-label }}" \
97- ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*{.tar.bz2,.conda}
109+ "${PACKAGES[@]}"
98110 echo "Uploaded the following files:"
99- basename -a ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*{.tar.bz2,.conda}
111+ basename -a "${PACKAGES[@]}"
100112 echo "::endgroup::"
101113
102114 echo "Use this command to try out the build:"
You can’t perform that action at this time.
0 commit comments