Use constants and push for tag-test

Fix typo in releases.yml
This commit is contained in:
Ferenc Hammerl
2023-03-07 10:49:25 +00:00
parent 301e5cd5de
commit 084bcce189
2 changed files with 6 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- id: commit
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- id: tag
run: echo "tag=${{ github.event.inputs.package }}-$(cat packages/tool-cache/package.json | jq .version)" >> "$GITHUB_OUTPUT"
run: echo "tag=${{ github.event.inputs.package }}-$(cat packages/${{ github.event.inputs.package }}/package.json | jq .version)" >> "$GITHUB_OUTPUT"
- name: verify package exists
run: ls packages/${{ github.event.inputs.package }}