diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 529ea5c..ef40846 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,7 +7,7 @@ on: push: branches: [ "main" ] tags: - - v* + - "v*.*.*" pull_request: branches: [ "main" ] @@ -16,20 +16,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Build AMD64 + - name: Build Linux AMD64 run: GOOS=linux GOARCH=amd64 go build -o shellyctl_linux_amd64 - - name: Build AMD64 + - name: Build Linux ARM64 run: GOOS=linux GOARCH=arm64 go build -o shellyctl_linux_arm64 - - name: Build Windows + - name: Build Windows AMD64 run: GOOS=windows GOARCH=amd64 go build -o shellyctl_windows_arm64 - name: Test