Tiny client and server pack for daxe's community modrinth.com/project/daxe

Switch to Tangled workflows

+16 -42
-39
.github/workflows/build.yml
··· 1 - name: Build 2 - 3 - on: 4 - push: 5 - workflow_dispatch: 6 - 7 - jobs: 8 - run: 9 - runs-on: ubuntu-latest 10 - steps: 11 - - name: Checkout 12 - uses: actions/checkout@v4 13 - 14 - - name: Set up Nix 15 - uses: JRMurr/direnv-nix-action@v4.2.0 16 - 17 - - name: Set up Packwiz cache 18 - uses: actions/cache@v4 19 - with: 20 - path: ~/.cache/packwiz/cache/ 21 - key: ${{ runner.os }}-packwiz-store 22 - restore-keys: ${{ runner.os }}-packwiz-store 23 - 24 - - name: Get pack version 25 - id: version 26 - run: | 27 - echo "VERSION=$(cat pack.toml | grep "version =" | sed 's/version = "\(.*\)"/\1/')" >> $GITHUB_OUTPUT 28 - 29 - - name: Build Modrinth pack 30 - run: | 31 - mkdir build 32 - packwiz modrinth export --output build/daxecraft-${{ steps.version.outputs.VERSION }}.mrpack 33 - 34 - - name: Upload Modrinth pack 35 - uses: actions/upload-artifact@v4 36 - with: 37 - name: Modrinth Pack 38 - path: build/daxecraft-*.mrpack 39 - compression-level: 0
+2 -3
.packwizignore
··· 1 - # GitHub 2 - /.github 1 + # Repository 2 + /.tangled 3 3 /license.md 4 4 /readme.md 5 5 ··· 10 10 11 11 # Packwiz files 12 12 /*.mrpack 13 - /build/ 14 13 15 14 # NixOS files 16 15 /.direnv/
+14
.tangled/workflows/build.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: "nixery" 6 + 7 + dependencies: 8 + nixpkgs: 9 + - packwiz 10 + 11 + steps: 12 + - name: Build Modrinth pack 13 + command: | 14 + packwiz modrinth export