From 78b2e3710b153dd147ceefea56d6e1ba3b176b22 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Wed, 17 Apr 2024 23:58:03 +0800 Subject: [PATCH] Add ubuntu-20.04 --- .github/workflows/build.sh | 6 ------ .github/workflows/build.yml | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 .github/workflows/build.sh diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh deleted file mode 100644 index b7d4736..0000000 --- a/.github/workflows/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -ldd --version -curl https://sh.rustup.rs -sSf | sh -s -- -y -source "$HOME/.cargo/env" -npm run build-release -npm test -node .github/workflows/deploy.js index.node hexo-word-counter/bin/nodejs/$(node -e "console.log(require('./package.json').version);")/linux__x64.node diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41b7dbe..903288b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-12, macos-14, windows-2019] + os: [ubuntu-20.04, macos-12, macos-14, windows-2019] steps: - uses: actions/checkout@v4