Remove ubuntu build (for now)

This commit is contained in:
Jai A
2023-03-30 16:18:33 -07:00
parent 446f6eba68
commit bc015263d6
3 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -8,7 +8,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest] platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
defaults: defaults:
@@ -36,7 +36,7 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ../target/** path: ../target/**
key: ${{ runner.os }}-theseus-gui-${{ hashFiles('Cargo.lock') }} key: ${{ runner.os }}-theseus
- name: Get yarn cache - name: Get yarn cache
id: yarn-cache id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)" 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() { let filter = |it: &LoaderVersion| match version.as_str() {
"latest" => true, "latest" => true,
"stable" => it.stable, "stable" => it.stable,
id => it.id == String::from(id), id => it.id == *id,
}; };
let loader_data = match loader { 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!"), _ => 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() .iter()
.find(|it| it.id == game_version) .find(|it| it.id == game_version)
.ok_or_else(|| eyre::eyre!("Modloader {loader} unsupported for Minecraft version {game_version}"))? .ok_or_else(|| eyre::eyre!("Modloader {loader} unsupported for Minecraft version {game_version}"))?