diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 796c893..b7d4736 100644 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -3,5 +3,4 @@ curl https://sh.rustup.rs -sSf | sh -s -- -y source "$HOME/.cargo/env" npm run build-release npm test -python3 -m pip install boto3 -python3 .github/workflows/deploy.py index.node hexo-word-counter/bin/nodejs/$(node -e "console.log(require('./package.json').version);")/linux__x64.node +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 badf3c9..41b7dbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,13 +23,6 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 - - name: Set up Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - default: true - - name: Build native module id: module shell: bash