From 15b96125714757312bbe3086acbababe52a466de Mon Sep 17 00:00:00 2001 From: d1t2 Date: Sat, 17 Dec 2022 13:14:33 +0800 Subject: [PATCH] Use setup homebrew action Ubuntu 18.04 runner is deprecated and linuxbrew-wrapper is no longer exist in new runner. See https://github.com/actions/runner-images/issues/6283 Ref: - https://github.com/Homebrew/actions/tree/master/setup-homebrew - https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md --- .github/workflows/github-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 77091df..0bd8c7d 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - run: sudo apt install linuxbrew-wrapper + - uses: Homebrew/actions/setup-homebrew@master - run: brew install coreutils #- run: cargo install mdbook - run: chmod 777 -R ./