修复批量查询功能中的WaitGroup死锁问题 #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| pull_request: | |
| branches: [ master,dev ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [ ubuntu-latest ] | |
| go-version: [ 1.22.1 ] | |
| name: Build | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Setup Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Set up xgo | |
| run: | | |
| docker pull techknowlogick/xgo:latest | |
| go install src.techknowlogick.com/xgo@latest | |
| sudo apt install upx | |
| - name: Build | |
| run: | | |
| ls -a | |
| pwd | |
| bash build.sh | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: artifact | |
| path: build |