Merge pull request #1418 from gitbutlerapp/Update-rust-cache-action

do not cache rust in berlin
This commit is contained in:
Nikita Galaiko 2023-10-19 10:05:02 +02:00 committed by GitHub
commit b73359fb57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'