You've already forked AstralRinth
forked from didirus/AstralRinth
Remove ubuntu build (for now)
This commit is contained in:
2
.github/workflows/cli-build.yml
vendored
2
.github/workflows/cli-build.yml
vendored
@@ -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:
|
||||||
|
|||||||
4
.github/workflows/tauri-build.yml
vendored
4
.github/workflows/tauri-build.yml
vendored
@@ -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)"
|
||||||
|
|||||||
@@ -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}"))?
|
||||||
|
|||||||
Reference in New Issue
Block a user