Skip to content

Commit

Permalink
Fix github flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pedorich-n committed Nov 12, 2023
1 parent d5e1542 commit 334eeb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-mrpack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "v*.*.*"

jobs:
nix-flake-check:
generate-mrpack:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -17,10 +17,10 @@ jobs:
- name: Export modpack name
run: echo "PACK_NAME=$(nix develop .#builder --command yq '.name' pack.toml)" >> $GITHUB_ENV
- name: Add version to modpack name
run: echo "PACK_NAME_VERSION=${PACK_NAME}_${{ github.ref_name }}" >> $GITHUB_ENV
run: echo "PACK_NAME_VERSION=${PACK_NAME}-${{ github.ref_name }}.mrpack" >> $GITHUB_ENV
- name: Create mrpack
run: nix develop .#builder --command packwiz modrinth export --output $PACK_NAME_VERSION
- name: Upload mrpack
uses: softprops/action-gh-release@v1
with:
files: $PACK_NAME_VERSION
files: ${{ env.PACK_NAME_VERSION }}

0 comments on commit 334eeb0

Please sign in to comment.