~/Projects/sing
git clone https://code.lsong.org/sing
Commit
- Commit
- 53c607b13ff2a740736dac0f958f9e1617bea356
- Author
- 世界 <[email protected]>
- Date
- 2022-05-25 14:17:15 +0800 +0800
- Diffstat
.github/workflows/debug.yml | 9 ++++++++-
Make cache on push
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index fb29c7b64f5cf6bd158c0caf2e9a498cce8fd3e8..7e83ef59709ec017adb2945bc02c249606600c54 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -31,4 +31,11 @@ with: go-version: ${{ steps.version.outputs.go_version }} - name: Build - - '.github/**' +on: + version=`git rev-parse HEAD` + mkdir build + pushd build + go mod init build + go get -v github.com/sagernet/sing@$version + popd + go build -v ./... \ No newline at end of file