Skip to content

Release

Release #7

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
type: string
description: Modpack Version
required: true
jobs:
run_mrpack_distributor:
runs-on: ubuntu-latest
name: Test mrpack distributor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
steps:
- name: Install packwiz
uses: actions/[email protected]
- run: go install github.com/packwiz/packwiz@latest
- name: Copy stuff
uses: actions/checkout@v4
- name: Install mrpack-distributor from git repository
uses: baptiste0928/cargo-install@v2
with:
crate: mrpack-distributor
git: https://github.com/LilydevMC/mrpack-distributor
branch: main
- name: Run release
run: mrpack-distributor run -dv ${{ github.event.inputs.version }}