fix: (attempt) weathersync #34
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: Export Packwiz | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- config/** | |
- server.toml | |
jobs: | |
packwiz-export: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install mcman | |
run: | | |
wget https://github.com/ParadigmMC/mcman/releases/latest/download/mcman | |
sudo mv ./mcman /usr/bin/ | |
sudo chmod +x /usr/bin/mcman | |
- name: Run mcman export packwiz | |
run: mcman export packwiz | |
env: | |
MODPACK_VERSION: ${{ github.sha }} | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update packwiz pack | |