Skip to content

Megaupdate (#30)

Megaupdate (#30) #22

name: Generate mrpack
on:
push:
tags:
- "v*.*.*"
jobs:
generate-mrpack:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v26
- name: Create mrpack
run: |
OUTPUT_PATH=$(nix build .#modrinth-pack --print-out-paths)
echo "OUTPUT_PATH=$OUTPUT_PATH" >> $GITHUB_ENV
- name: Upload mrpack
uses: softprops/action-gh-release@v2
with:
files: "${{ env.OUTPUT_PATH }}/*"