Merge pull request #20 from HamaIndustries/main #116
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 | |
- .github/workflows/packwiz.yml | |
workflow_dispatch: | |
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: "0.0.1" | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update packwiz pack | |