1
0
Fork 0

Raw jq for actual version

pull/1365/head^2 @actions/http-client@2.0.1-test-tag
Ferenc Hammerl 2023-03-07 11:11:44 +00:00
parent cb86beb23a
commit 0d44da2b87
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -14,7 +14,7 @@ jobs:
- id: commit
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- id: tag
run: echo "tag=@actions/http-client-$(cat packages/http-client/package.json | jq .version)-test-tag" >> "$GITHUB_OUTPUT"
run: echo "tag=@actions/http-client@$(cat packages/http-client/package.json | jq -r .version)-test-tag" >> "$GITHUB_OUTPUT"
publish:
runs-on: macos-latest
needs: test