name: Publish Modpack Archive run-name: Publish latest commit as mrpack file on: [push] jobs: Build and release mrpack file from latest changes: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - name: Setup Go environment uses: actions/setup-go@v5 with: go-version: "1.26" - name: Install dependencies run: | go install github.com/packwiz/packwiz@latest - name: Build mrpack file with packwiz run: | packwiz modrinth export - uses: akkuman/gitea-release-action@v1 with: name: Build - ${{ github.head_ref }} files: |- *.mrpack