Skip to content

Merge pull request #1538 from Sleet01/Fix_MML_1537_failure_to_save_or… #3

Merge pull request #1538 from Sleet01/Fix_MML_1537_failure_to_save_or…

Merge pull request #1538 from Sleet01/Fix_MML_1537_failure_to_save_or… #3

name: "Write MML Revision"
on:
push:
branches:
- master
paths:
# only write the revision for changes that affect program behavior
- '**.gradle'
- 'megameklab/src/**'
- 'megameklab/data/**'
jobs:
write_hashcode:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Write latest revision hashcode to file
run: echo ${{ github.sha }} > megameklab/docs/mml-revision.txt
- name: Commit and Push Changes
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git add megameklab/docs/mml-revision.txt
git commit -m 'Update mml-revision.txt'
git push