Skip to content

Fix tag matcher

Fix tag matcher #23

name: Generate mrpack
on:
push:
tags:
- "v\d+\.\d+\.\d+.*"

Check failure on line 6 in .github/workflows/generate-mrpack.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-mrpack.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
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@V27
- 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 }}/*"