Add sym file action

Based off of pokeemerald's workflow YML
This commit is contained in:
Seth Barberee
2026-09-08 11:42:17 -07:00
committed by GitHub
parent 0795236048
commit 4f8dd2844b

View File

@@ -50,6 +50,21 @@ jobs:
- name: Modern
run: |
make -j${nproc} modern
- name: Move symfiles
if: ${{ github.event_name == 'push' }}
run: |
cp -v *.sym symbols/
echo "SYMBOLS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
- name: Update symfiles
if: ${{ github.event_name == 'push' }}
uses: EndBug/add-and-commit@v7
with:
branch: symbols
cwd: "./symbols"
add: "*.sym"
message: ${{ env.SYMBOLS_COMMIT_MSG }}
# only run OK when pushed to master
- name: Run OK webhook