diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8e61e05..b336420 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,14 +16,14 @@ env: jobs: verify: name: Rust, web and container - runs-on: linux-build + runs-on: ubuntu-latest steps: - uses: builtin:checkout - name: Verify Linux runner run: | set -eu test "$(uname -s)" = Linux - for tool in cargo rustc node npm docker; do command -v "$tool" >/dev/null || { echo "Missing $tool on linux-build runner"; exit 1; }; done + for tool in cargo rustc node npm docker; do command -v "$tool" >/dev/null || { echo "Missing $tool on ubuntu-latest runner"; exit 1; }; done test "$(node -p 'process.versions.node.split(".")[0]')" -ge 22 rustup component list --installed | grep -q rustfmt rustup component list --installed | grep -q clippy @@ -54,13 +54,13 @@ jobs: launcher-windows: name: Windows launcher - runs-on: windows-build + runs-on: windows-latest steps: - uses: builtin:checkout - name: Verify Windows runner shell: pwsh run: | - if (-not $IsWindows) { throw 'windows-build must be a Windows host runner' } + if (-not $IsWindows) { throw 'windows-latest must be a Windows host runner' } foreach ($tool in @('cargo', 'rustc', 'node', 'npm')) { if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" } } @@ -81,7 +81,7 @@ jobs: engine-online: name: Real Minecraft installs (manual) if: ${{ gitea.event_name == 'workflow_dispatch' }} - runs-on: linux-build + runs-on: ubuntu-latest continue-on-error: true steps: - uses: builtin:checkout diff --git a/.gitea/workflows/integrations.yml b/.gitea/workflows/integrations.yml index a4d16bb..1bc77f8 100644 --- a/.gitea/workflows/integrations.yml +++ b/.gitea/workflows/integrations.yml @@ -17,7 +17,7 @@ permissions: jobs: paper: - runs-on: linux-build + runs-on: ubuntu-latest steps: - uses: builtin:checkout - uses: actions/setup-java@v4 @@ -47,7 +47,7 @@ jobs: mods: name: Fabric and Forge / ${{ matrix.mc.version }} - runs-on: linux-build + runs-on: ubuntu-latest strategy: fail-fast: false matrix: diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c4324dc..747a17a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -27,7 +27,7 @@ env: jobs: version: - runs-on: linux-build + runs-on: ubuntu-latest outputs: version: ${{ steps.v.outputs.version }} tag: ${{ steps.v.outputs.tag }} @@ -50,13 +50,13 @@ jobs: launcher: name: Windows installer needs: version - runs-on: windows-build + runs-on: windows-latest steps: - uses: builtin:checkout - name: Verify Windows runner shell: pwsh run: | - if (-not $IsWindows) { throw 'windows-build must be a Windows host runner' } + if (-not $IsWindows) { throw 'windows-latest must be a Windows host runner' } foreach ($tool in @('cargo', 'node', 'npm')) { if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" } } @@ -114,7 +114,7 @@ jobs: panel-image: name: Panel image (Gitea registry) needs: version - runs-on: linux-build + runs-on: ubuntu-latest steps: - uses: builtin:checkout - name: Verify container runner @@ -160,7 +160,7 @@ jobs: release: name: Gitea release needs: [version, launcher, panel-image, server-integrations] - runs-on: linux-build + runs-on: ubuntu-latest steps: - name: Verify release runner run: | diff --git a/README.md b/README.md index f18f825..949b0c4 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ The workflow builds the **Windows installer**, pushes the **panel image to Gitea ### Gitea runner setup -Register a Linux host runner with the `linux-build` label and a Windows host runner with `windows-build`. The CI workflows check the host OS and required tools before building. The Linux host needs Rust with `rustfmt` and `clippy`, Node 22+, Java 21 and 25 for the integration matrix, Docker with Buildx, `pkg-config`, the Tauri WebKit/GTK development libraries, `curl`, and `jq`. The Windows host needs Rust, Node 22+, PowerShell and Git Bash. Enable Actions for the repository and allow its job token to write releases and packages. See [Gitea's runner labels](https://docs.gitea.com/runner/labels/) and [token permissions](https://docs.gitea.com/usage/actions/token-permissions/). +Register a Linux host runner with the `ubuntu-latest` label and a Windows host runner with `windows-latest`. The CI workflows check the host OS and required tools before building. The Linux host needs Rust with `rustfmt` and `clippy`, Node 22+, Java 21 and 25 for the integration matrix, Docker with Buildx, `pkg-config`, the Tauri WebKit/GTK development libraries, `curl`, and `jq`. The Windows host needs Rust, Node 22+, PowerShell and Git Bash. Enable Actions for the repository and allow its job token to write releases and packages. See [Gitea's runner labels](https://docs.gitea.com/runner/labels/) and [token permissions](https://docs.gitea.com/usage/actions/token-permissions/). ## Repository layout