Megaupdate (#30) #22
Workflow file for this run
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: 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 }}/*" |