mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-09-30 20:36:45 -05:00
Automatically update symbols branch in CI (#171)
This commit is contained in:
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user