diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 714bf6ee..b3c0362e 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -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/${{ 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 .version)" >> "$GITHUB_OUTPUT" - name: verify package exists run: ls packages/${{ github.event.inputs.package }} @@ -84,7 +84,7 @@ jobs: env: SLACK_WEBHOOK: ${{ secrets.SLACK }} tag: - name: "Tag commit with ${{ github.event.inputs.package }}-version" + name: "Tag ${{ needs.test.outputs.sha }} with ${{ needs.test.outputs.tag }}" runs-on: "macos-latest" needs: [test, publish] steps: diff --git a/.github/workflows/tag-test.yml b/.github/workflows/tag-test.yml index 6bef89c7..515eae99 100644 --- a/.github/workflows/tag-test.yml +++ b/.github/workflows/tag-test.yml @@ -14,7 +14,7 @@ jobs: - id: commit run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - id: tag - run: echo "tag=http-client-$(cat packages/http-client/package.json | jq .version)" >> "$GITHUB_OUTPUT" + run: echo "tag=@actions/http-client-$(cat packages/http-client/package.json | jq .version)-test-tag" >> "$GITHUB_OUTPUT" publish: runs-on: macos-latest needs: test