Update AltSource #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update AltSource | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| update-source: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source repo | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: shplash/shplash-repo | |
| token: ${{ secrets.SOURCE_REPO_TOKEN }} | |
| - name: Update apps.json | |
| run: | | |
| python3 update_source.py \ | |
| "${{ github.event.release.tag_name }}" \ | |
| "${{ github.event.release.name }}" \ | |
| "${{ github.event.release.body }}" | |
| - name: Commit changes | |
| run: | | |
| git config user.name "shplash-bot" | |
| git config user.email "actions@github.com" | |
| git add apps.json | |
| git commit -m "Update IPAID to ${{ github.event.release.tag_name }}" || exit 0 | |
| git push |