mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-16 19:55:56 +08:00
Raw jq for actual version
This commit is contained in:
parent
cb86beb23a
commit
0d44da2b87
2
.github/workflows/releases.yml
vendored
2
.github/workflows/releases.yml
vendored
@ -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 }}
|
||||
|
2
.github/workflows/tag-test.yml
vendored
2
.github/workflows/tag-test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user