Remove ubuntu build (for now)
This commit is contained in:
parent
446f6eba68
commit
bc015263d6
2
.github/workflows/cli-build.yml
vendored
2
.github/workflows/cli-build.yml
vendored
@ -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:
|
||||
|
||||
4
.github/workflows/tauri-build.yml
vendored
4
.github/workflows/tauri-build.yml
vendored
@ -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)"
|
||||
|
||||
@ -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}"))?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user