Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:

- name: Create release pull request or publish
id: changesets
env:
NPM_CONFIG_LOGS_DIR: ${{ runner.temp }}/gbot-publish-logs
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2
with:
pr-base-branch: main
Expand Down Expand Up @@ -90,3 +92,12 @@ jobs:
done
echo "::error::$name@$version is not on npm; the release did not publish."
exit 1

- name: Report npm publish result on failure
if: failure()
shell: bash
run: |
# Changesets captures npm output, including errors from a false success.
# Show only command/status records; exclude config and authentication data.
grep -hE ' (verbose (title|exit)|info using|http fetch PUT|error|warn|notice Publishing) ' \
"$RUNNER_TEMP"/gbot-publish-logs/* 2>/dev/null || true
2 changes: 1 addition & 1 deletion artifact/agent-bundle.manifest.json

Large diffs are not rendered by default.