From 0c8b888f991cfc4d611cdaa6b5bdfa3371e194b6 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Tue, 11 Jul 2023 22:18:53 -0500 Subject: [PATCH] Replace `ls | cut` with `basename -a` --- canary-release/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canary-release/action.yml b/canary-release/action.yml index b3c8976..9b84078 100644 --- a/canary-release/action.yml +++ b/canary-release/action.yml @@ -95,7 +95,7 @@ runs: --label="${{ inputs.anaconda-org-label }}" \ ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2 echo "Uploaded the following files:" - ls ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2 | cut -d/ -f3- | tr ' ' $'\n' + basename -a ./pkgs/${{ inputs.subdir }}/${{ inputs.package-name }}-*.tar.bz2 echo "::endgroup::" echo "Use this command to try out the build:"