Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit d96f15a

Browse files
committed
Update code.yml
Fixing a bug that occurs when releasing. (This is already fixed in the skeleton-cli project but failed to get copied to skeleton).
1 parent 5203856 commit d96f15a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ jobs:
127127
labels: ${{ steps.meta.outputs.labels }}
128128

129129
- name: Test cli works in runtime image
130-
run: for i in ${{ steps.meta.outputs.tags }}; do docker run ${i} --version; done
130+
# check that the first tag can run with --version parameter
131+
run: docker run $(echo ${{ steps.meta.outputs.tags }} | sed -e 's/\s.*$//') --version
131132

132133
- name: Test cli works in sdist installed in local python
133134
# ${GITHUB_REPOSITORY##*/} is the repo name without org

0 commit comments

Comments
 (0)