Generate MiSTer latest repo #10
This file contains 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: Generate MiSTer latest repo | |
on: | |
workflow_dispatch: | |
permissions: write-all | |
jobs: | |
mister-repo: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get latest TapTo release | |
id: taptoreleaseinfo | |
uses: cardinalby/git-get-release-action@v1 | |
with: | |
latest: true | |
repo: wizzomafizzo/tapto | |
- name: Create repo database | |
run: | | |
python3 scripts/mister/repo/generate.py ${{ steps.taptoreleaseinfo.outputs.tag_name }} | |
- name: Commit repo database | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: scripts/mister/repo/tapto.json -f -A |