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