diff --git a/.github/workflows/prerelease-action-plugins-actions_check.yml b/.github/workflows/prerelease-action-plugins-actions_check.yml index 90379bc..38bcf4f 100644 --- a/.github/workflows/prerelease-action-plugins-actions_check.yml +++ b/.github/workflows/prerelease-action-plugins-actions_check.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release actions_check needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o actions_check-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-ansible.yml b/.github/workflows/prerelease-action-plugins-ansible.yml index 0101dd0..8f48005 100644 --- a/.github/workflows/prerelease-action-plugins-ansible.yml +++ b/.github/workflows/prerelease-action-plugins-ansible.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release ansible needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ansible-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-collect_data.yml b/.github/workflows/prerelease-action-plugins-collect_data.yml index 5013cd0..ae90851 100644 --- a/.github/workflows/prerelease-action-plugins-collect_data.yml +++ b/.github/workflows/prerelease-action-plugins-collect_data.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release collect_data needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o collect_data-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-debug.yml b/.github/workflows/prerelease-action-plugins-debug.yml index 0705020..7d19363 100644 --- a/.github/workflows/prerelease-action-plugins-debug.yml +++ b/.github/workflows/prerelease-action-plugins-debug.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release debug needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o debug-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-git.yml b/.github/workflows/prerelease-action-plugins-git.yml index 2d61b0e..4e81a8d 100644 --- a/.github/workflows/prerelease-action-plugins-git.yml +++ b/.github/workflows/prerelease-action-plugins-git.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release git needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o git-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-interaction.yml b/.github/workflows/prerelease-action-plugins-interaction.yml index 714ff4c..1412153 100644 --- a/.github/workflows/prerelease-action-plugins-interaction.yml +++ b/.github/workflows/prerelease-action-plugins-interaction.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release interaction needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o interaction-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-log.yml b/.github/workflows/prerelease-action-plugins-log.yml index 7606887..3c2b3ad 100644 --- a/.github/workflows/prerelease-action-plugins-log.yml +++ b/.github/workflows/prerelease-action-plugins-log.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release log needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o log-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-mail.yml b/.github/workflows/prerelease-action-plugins-mail.yml index 984fe39..2aa6273 100644 --- a/.github/workflows/prerelease-action-plugins-mail.yml +++ b/.github/workflows/prerelease-action-plugins-mail.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release mail needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o mail-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-pattern_check.yml b/.github/workflows/prerelease-action-plugins-pattern_check.yml index edefca7..ac25f12 100644 --- a/.github/workflows/prerelease-action-plugins-pattern_check.yml +++ b/.github/workflows/prerelease-action-plugins-pattern_check.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release pattern_check needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o pattern_check-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-ping.yml b/.github/workflows/prerelease-action-plugins-ping.yml index bf690e8..509bfc7 100644 --- a/.github/workflows/prerelease-action-plugins-ping.yml +++ b/.github/workflows/prerelease-action-plugins-ping.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release ping needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ping-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-port_checker.yml b/.github/workflows/prerelease-action-plugins-port_checker.yml index a32ed05..612ea46 100644 --- a/.github/workflows/prerelease-action-plugins-port_checker.yml +++ b/.github/workflows/prerelease-action-plugins-port_checker.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release port_checker needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o port_checker-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-ssh.yml b/.github/workflows/prerelease-action-plugins-ssh.yml index be8f598..37ca0db 100644 --- a/.github/workflows/prerelease-action-plugins-ssh.yml +++ b/.github/workflows/prerelease-action-plugins-ssh.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release ssh needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ssh-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-terraform.yml b/.github/workflows/prerelease-action-plugins-terraform.yml index 56a5d07..4bf8b9e 100644 --- a/.github/workflows/prerelease-action-plugins-terraform.yml +++ b/.github/workflows/prerelease-action-plugins-terraform.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release terraform needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o terraform-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-test.yml b/.github/workflows/prerelease-action-plugins-test.yml index b81b1b8..50f3362 100644 --- a/.github/workflows/prerelease-action-plugins-test.yml +++ b/.github/workflows/prerelease-action-plugins-test.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release test needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o test-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-action-plugins-wait.yml b/.github/workflows/prerelease-action-plugins-wait.yml index ec81e52..ce53c00 100644 --- a/.github/workflows/prerelease-action-plugins-wait.yml +++ b/.github/workflows/prerelease-action-plugins-wait.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release wait needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o wait-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/prerelease-endpoint-plugins-alertmanager.yml b/.github/workflows/prerelease-endpoint-plugins-alertmanager.yml index 26452e0..094afee 100644 --- a/.github/workflows/prerelease-endpoint-plugins-alertmanager.yml +++ b/.github/workflows/prerelease-endpoint-plugins-alertmanager.yml @@ -32,7 +32,7 @@ jobs: build-and-prerelease: name: Build and Pre-release alertmanager needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -70,7 +70,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o alertmanager-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-actions_check.yml b/.github/workflows/release-action-plugins-actions_check.yml index bd929e6..a803b77 100644 --- a/.github/workflows/release-action-plugins-actions_check.yml +++ b/.github/workflows/release-action-plugins-actions_check.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o actions_check-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o actions_check-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-ansible.yml b/.github/workflows/release-action-plugins-ansible.yml index 9170c48..2a0e270 100644 --- a/.github/workflows/release-action-plugins-ansible.yml +++ b/.github/workflows/release-action-plugins-ansible.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ansible-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ansible-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-collect_data.yml b/.github/workflows/release-action-plugins-collect_data.yml index 97f0867..b3baa98 100644 --- a/.github/workflows/release-action-plugins-collect_data.yml +++ b/.github/workflows/release-action-plugins-collect_data.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o collect_data-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o collect_data-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-debug.yml b/.github/workflows/release-action-plugins-debug.yml index ed5e93a..6b893c1 100644 --- a/.github/workflows/release-action-plugins-debug.yml +++ b/.github/workflows/release-action-plugins-debug.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o debug-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o debug-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-git.yml b/.github/workflows/release-action-plugins-git.yml index 3d69e2d..db00878 100644 --- a/.github/workflows/release-action-plugins-git.yml +++ b/.github/workflows/release-action-plugins-git.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o git-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o git-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-interaction.yml b/.github/workflows/release-action-plugins-interaction.yml index f8e9eaf..566360c 100644 --- a/.github/workflows/release-action-plugins-interaction.yml +++ b/.github/workflows/release-action-plugins-interaction.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o interaction-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o interaction-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-log.yml b/.github/workflows/release-action-plugins-log.yml index 5834472..b3e47ec 100644 --- a/.github/workflows/release-action-plugins-log.yml +++ b/.github/workflows/release-action-plugins-log.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o log-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o log-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-mail.yml b/.github/workflows/release-action-plugins-mail.yml index ac04b01..c2f3393 100644 --- a/.github/workflows/release-action-plugins-mail.yml +++ b/.github/workflows/release-action-plugins-mail.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o mail-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o mail-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-pattern_check.yml b/.github/workflows/release-action-plugins-pattern_check.yml index f81466d..1f1182e 100644 --- a/.github/workflows/release-action-plugins-pattern_check.yml +++ b/.github/workflows/release-action-plugins-pattern_check.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o pattern_check-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o pattern_check-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-ping.yml b/.github/workflows/release-action-plugins-ping.yml index 1b96a4e..b0b70b2 100644 --- a/.github/workflows/release-action-plugins-ping.yml +++ b/.github/workflows/release-action-plugins-ping.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ping-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ping-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-port_checker.yml b/.github/workflows/release-action-plugins-port_checker.yml index 7fbe66b..aa0b953 100644 --- a/.github/workflows/release-action-plugins-port_checker.yml +++ b/.github/workflows/release-action-plugins-port_checker.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o port_checker-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o port_checker-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-ssh.yml b/.github/workflows/release-action-plugins-ssh.yml index d6d3e2e..8152d83 100644 --- a/.github/workflows/release-action-plugins-ssh.yml +++ b/.github/workflows/release-action-plugins-ssh.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ssh-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o ssh-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-terraform.yml b/.github/workflows/release-action-plugins-terraform.yml index 2bae24a..25c2703 100644 --- a/.github/workflows/release-action-plugins-terraform.yml +++ b/.github/workflows/release-action-plugins-terraform.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o terraform-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o terraform-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-test.yml b/.github/workflows/release-action-plugins-test.yml index 3deb276..dec5ec3 100644 --- a/.github/workflows/release-action-plugins-test.yml +++ b/.github/workflows/release-action-plugins-test.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o test-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o test-latest-${os}-${arch} done done diff --git a/.github/workflows/release-action-plugins-wait.yml b/.github/workflows/release-action-plugins-wait.yml index 7d16b1b..8303343 100644 --- a/.github/workflows/release-action-plugins-wait.yml +++ b/.github/workflows/release-action-plugins-wait.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o wait-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o wait-latest-${os}-${arch} done done diff --git a/.github/workflows/release-endpoint-plugins-alertmanager.yml b/.github/workflows/release-endpoint-plugins-alertmanager.yml index d827735..d35044c 100644 --- a/.github/workflows/release-endpoint-plugins-alertmanager.yml +++ b/.github/workflows/release-endpoint-plugins-alertmanager.yml @@ -48,14 +48,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o alertmanager-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o alertmanager-latest-${os}-${arch} done done diff --git a/generate_workflows.sh b/generate_workflows.sh index 236685c..fa767d2 100755 --- a/generate_workflows.sh +++ b/generate_workflows.sh @@ -121,14 +121,22 @@ jobs: run: | # Build versioned binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o $plugin-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done # Build latest binaries for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o $plugin-latest-${os}-${arch} done done @@ -227,7 +235,7 @@ jobs: build-and-prerelease: name: Build and Pre-release $plugin needs: check-version - if: needs.check-version.outputs.is_prerelease == 'true' + if: github.event_name == 'workflow_dispatch' || needs.check-version.outputs.is_prerelease == 'true' runs-on: ubuntu-latest permissions: write-all steps: @@ -265,7 +273,11 @@ jobs: run: | # Build for multiple platforms for os in darwin linux; do - for arch in amd64 arm64 386 arm ppc64le s390x; do + for arch in amd64 arm64 arm ppc64le s390x; do + # Skip darwin/386 as it's unsupported + if [ "$os" = "darwin" ] && [ "$arch" = "386" ]; then + continue + fi GOOS=${os} GOARCH=${arch} go build -o $plugin-v${{ steps.read_version.outputs.version }}-${os}-${arch} done done