diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5407ef76..c97b8799 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/README.md b/README.md index a4cb827d..97332981 100644 --- a/README.md +++ b/README.md @@ -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