Automatically update symbols branch in CI (#171)

This commit is contained in:
Rangi
2026-07-05 22:55:21 -04:00
committed by GitHub
parent cae73ee7f5
commit a5f36263be
2 changed files with 25 additions and 0 deletions

View File

@@ -38,6 +38,26 @@ jobs:
make DEBUG=1 -j$(nproc) compare
.github/checkdiff.sh
- name: Checkout symbols
if: ${{ github.repository_owner == 'pret' && github.event_name == 'push' }}
uses: actions/checkout@v7
with:
path: symbols
ref: symbols
- name: Move symbols
if: ${{ github.repository_owner == 'pret' && github.event_name == 'push' }}
run: |
cp -v *.sym *.map symbols/
- name: Update symbols
if: ${{ github.repository_owner == 'pret' && github.event_name == 'push' }}
uses: EndBug/add-and-commit@v10
with:
cwd: "./symbols"
add: "*.sym *.map"
message: ${{ github.event.commits[0].message }}
- name: Discord webhook
if: ${{ github.repository_owner == 'pret' && github.event_name == 'push' }}
env:

View File

@@ -16,9 +16,14 @@ It builds the following ROMs:
## See also
- [**Symbols**][symbols]
- [**Tools**][tools]
You can find us on [Discord (pret, #prototypes-and-leaks)](https://discord.gg/d5dubZ3).
For other pret projects, see [pret.github.io](https://pret.github.io/).
[symbols]: https://github.com/pret/pokegold-spaceworld/tree/symbols
[tools]: https://github.com/pret/gb-asm-tools
[ci]: https://github.com/pret/pokegold-spaceworld/actions
[ci-badge]: https://github.com/pret/pokegold-spaceworld/actions/workflows/main.yml/badge.svg