mirror of
https://github.com/eledio-devices/thirdparty-littlefs.git
synced 2025-10-30 16:15:40 +01:00
- Added to GitHub statuses (61 results) - Reworked generated release table to include these (16 results, only thumb) These also required a surprisingly large number of other changes: - Bumbed CI Ubuntu version 18.04 -> 20.04, 22.04 is already on the horizon but not usable in GitHub yet - Manualy upgrade to GCC v10, this is required for the -fcallgraph-info flag that scripts/stack.py uses. - Increased paginated status queries to 100 per-page. If we have more statuses than this the status diffs may get much more complicated... - Forced whitespace in generated release table to always be nbsp. GitHub tables get scrunched rather ugly without this, prefering margins to readable tables. - Added limited support for "∞" results, since this is returned by ./scripts/stack.py for recursive functions. As a side-note, this increases the number of statuses reported per-commit from 6 to 61, so hopefully that doesn't cause any problems...
27 lines
914 B
YAML
27 lines
914 B
YAML
name: post-release
|
|
on:
|
|
release:
|
|
branches: [master]
|
|
types: [released]
|
|
|
|
jobs:
|
|
post-release:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
# trigger post-release in dependency repo, this indirection allows the
|
|
# dependency repo to be updated often without affecting this repo. At
|
|
# the time of this comment, the dependency repo is responsible for
|
|
# creating PRs for other dependent repos post-release.
|
|
- name: trigger-post-release
|
|
continue-on-error: true
|
|
run: |
|
|
curl -sS -X POST -H "authorization: token ${{secrets.BOT_TOKEN}}" \
|
|
"$GITHUB_API_URL/repos/${{secrets.POST_RELEASE_REPO}}/dispatches" \
|
|
-d "$(jq -n '{
|
|
event_type: "post-release",
|
|
client_payload: {
|
|
repo: env.GITHUB_REPOSITORY,
|
|
version: "${{github.event.release.tag_name}}"}}' \
|
|
| tee /dev/stderr)"
|
|
|