Skip to content

Commit 476cdb3

Browse files
committed
Fix validate version
1 parent dcdf75c commit 476cdb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
name: tarball
5757
- id: get-version
5858
name: Get version
59-
run: echo version=`tar --extract --file=../use-memo-map-0.0.0-0.tgz --to-stdout package/package.json | jq -r .version` > $GITHUB_OUTPUT
59+
run: echo version=`tar --extract --file=\`ls ../*.tgz\` --to-stdout package/package.json | jq -r .version` > $GITHUB_OUTPUT
60+
- name: Print version
61+
run: echo ${{ steps.get-version.outputs.version }}
6062
- if: ${{ contains(steps.get-version.outputs.version, '-') }}
6163
name: Validate version
6264
run: |

0 commit comments

Comments
 (0)