From 12eb4dc0dfc9c43ba24d440bdcfbde266ac50180 Mon Sep 17 00:00:00 2001 From: Jeehoon Kang Date: Wed, 21 Jun 2023 02:29:17 +0900 Subject: [PATCH] Fix rustdoc action --- .github/workflows/rustdoc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml index 697d7f5..21d0268 100644 --- a/.github/workflows/rustdoc.yaml +++ b/.github/workflows/rustdoc.yaml @@ -13,12 +13,15 @@ env: jobs: rustdoc: if: github.repository == 'kaist-cp/cs220' - runs-on: self-hosted + runs-on: [self-hosted, ubuntu-22.04] steps: - name: Checkout repository uses: actions/checkout@v3 + - name: Install Rustup + run: if ! command -v rustup &>/dev/null; then (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y); fi + - name: Install Rust toolchain run: rustup update --no-self-update stable