diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f64ffd5..c26f956 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - name: Clone libwebp and build run: | @@ -36,7 +36,7 @@ jobs: sudo make install echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf sudo ldconfig - + - name: Build run: GOARCH=amd64 GOOS=linux go build -o watgbridge_linux_amd64 . @@ -71,7 +71,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - name: Clone libwebp and build run: | @@ -83,7 +83,7 @@ jobs: sudo make install echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf sudo ldconfig - + - name: Build run: CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ GOARCH=arm64 GOOS=linux go build -o watgbridge_linux_aarch64 .