mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-12 16:43:03 +03:00
Merge pull request #1418 from gitbutlerapp/Update-rust-cache-action
do not cache rust in berlin
This commit is contained in:
commit
b73359fb57
5
.github/actions/init-env-rust/action.yaml
vendored
5
.github/actions/init-env-rust/action.yaml
vendored
@ -2,9 +2,9 @@ name: init-rust
|
||||
description: prepare runner for rust related tasks
|
||||
inputs:
|
||||
rust:
|
||||
description: 'rust version'
|
||||
description: "rust version"
|
||||
required: false
|
||||
default: 'stable'
|
||||
default: "stable"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@ -15,6 +15,7 @@ runs:
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Cache rust dependencies
|
||||
if: runner.labels != 'self-hosted' # internet in berlin is very slow
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- if: runner.os == 'Linux'
|
||||
|
Loading…
Reference in New Issue
Block a user