diff --git a/.github/workflows/build-windows-amd.yml b/.github/workflows/build-windows-amd.yml index c9a9a3c7..ba0cb41b 100644 --- a/.github/workflows/build-windows-amd.yml +++ b/.github/workflows/build-windows-amd.yml @@ -55,14 +55,13 @@ jobs: $env:GOAMD64="v3"; $env:CGO_ENABLED=1; go build -tags build_actions -trimpath -ldflags '-w -s -buildid=' -o bin/clash-windows-amd64-v3.exe cd bin/ - Compress-Archive -Path clash-windows-amd64.exe -DestinationPath clash-plus-windows-amd64-$(git describe --tags --always)-$(Get-Date -Format 'yyyy.MM.dd').zip - Compress-Archive -Path clash-windows-amd64-v3.exe -DestinationPath clash-plus-windows-amd64-v3-$(git describe --tags --always)-$(Get-Date -Format 'yyyy.MM.dd').zip + Compress-Archive -Path clash-windows-amd64.exe -DestinationPath clash-plus-windows-amd64-$(Get-Date -Format 'yyyy.MM.dd').zip + Compress-Archive -Path clash-windows-amd64-v3.exe -DestinationPath clash-plus-windows-amd64-v3-$(Get-Date -Format 'yyyy.MM.dd').zip Remove-Item -Force clash-windows-amd64.exe Remove-Item -Force clash-windows-amd64-v3.exe - name: Upload files to Artifacts uses: actions/upload-artifact@v2 - if: startsWith(github.ref, 'refs/tags/') == false with: name: clash-windows-amd64-${{ steps.test.outputs.file_sha }}-${{ steps.test.outputs.file_date }} path: | diff --git a/README.md b/README.md index aee338b8..395ede5d 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Documentations are now moved to [GitHub Wiki](https://github.com/Dreamacro/clash This branch requires cgo and Python3.9, so make sure you set up Python3.9 before building. For example, build on macOS: -```shell +```sh brew update brew install python@3.9 @@ -50,7 +50,7 @@ git clone -b plus-pro https://github.com/yaling888/clash.git cd clash # build -make cleancache && make local +make local # or make local-v3 ls bin/