chore: Update Modular UI 2 and all related mod version #11
Workflow file for this run
This file contains hidden or 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: PR Build | |
| on: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'LICENSE' | |
| - 'NOTICE.md' | |
| - 'CLAUDE.md' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Nix | |
| uses: nixbuild/nix-quick-install-action@v34 | |
| - name: Cache Nix store | |
| uses: nix-community/cache-nix-action@v7 | |
| with: | |
| primary-key: nix-${{ runner.os }}-${{ hashFiles('flake.lock') }} | |
| restore-prefixes-first-match: nix-${{ runner.os }}- | |
| - name: Load devShell | |
| uses: rrbutani/use-nix-shell-action@v1 | |
| with: | |
| devShell: .#default | |
| - name: Resolve metadata | |
| run: bash .github/scripts/meta.sh | |
| - name: Package client | |
| id: package | |
| run: bash .github/scripts/client.sh "${SLUG}-pr${{ github.event.pull_request.number }}-${SHORT_SHA}" | |
| - name: Package server | |
| id: package_server | |
| run: bash .github/scripts/server.sh "${SLUG}-pr${{ github.event.pull_request.number }}-${SHORT_SHA}" "https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/pack.toml" | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "${{ env.SLUG }}-pr${{ github.event.pull_request.number }}-${{ env.SHORT_SHA }}" | |
| path: | | |
| ${{ steps.package.outputs.curseforge_zip }} | |
| ${{ steps.package_server.outputs.server_zip }} | |
| retention-days: 3 | |
| if-no-files-found: error |