diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 2491f013..78d9d4b2 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -43,7 +43,7 @@ jobs: env: NAME: Clash.Meta BINDIR: bin - run: make -j releases + run: make -j$(($(nproc) + 1)) releases - name: Delete current release assets uses: andreaswilli/delete-release-assets-action@v2.0.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 45d0841f..4b2b60da 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,7 @@ jobs: env: NAME: Clash.Meta BINDIR: bin - run: make -j releases + run: make -j$(($(nproc) + 1)) releases - name: Upload Release uses: softprops/action-gh-release@v1