Remove ubuntu build (for now)

This commit is contained in:
Jai A 2023-03-30 16:18:33 -07:00
parent 446f6eba68
commit bc015263d6
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ jobs:
uses: actions/cache@v2
with:
path: ../target/**
key: ${{ runner.os }}-theseus-cli-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-theseus
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:

View File

@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
defaults:
@ -36,7 +36,7 @@ jobs:
uses: actions/cache@v2
with:
path: ../target/**
key: ${{ runner.os }}-theseus-gui-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-theseus
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

View File

@ -202,7 +202,7 @@ impl ProfileInit {
let filter = |it: &LoaderVersion| match version.as_str() {
"latest" => true,
"stable" => it.stable,
id => it.id == String::from(id),
id => it.id == *id,
};
let loader_data = match loader {
@ -211,7 +211,7 @@ impl ProfileInit {
_ => eyre::bail!("Could not get manifest for loader {loader}. This is a bug in the CLI!"),
};
let ref loaders = loader_data.game_versions
let loaders = &loader_data.game_versions
.iter()
.find(|it| it.id == game_version)
.ok_or_else(|| eyre::eyre!("Modloader {loader} unsupported for Minecraft version {game_version}"))?