carpet version update for 1.21.2 #8
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: Update Modrinth Readme | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_modrinth_readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: pip install requests rich | |
- name: Run Python Script | |
run: python .github/workflows/scripts/update_modrinth_readme.py aZhtZo3k Modrinth.md | |
env: | |
SECRET: ${{ secrets.MODRINTH_API_TOKEN }} |