diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 132ff6814..026fcdac3 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -1,8 +1,8 @@ name: Build Release on: - release: - types: [published] + workflow_dispatch: + jobs: releases-matrix: @@ -34,7 +34,7 @@ jobs: VERSION: ${{github.ref_name}} COMMIT: ${{ github.sha }} with: - pre_command: make pre-build + pre_command: make pre-build && make debug github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} diff --git a/Makefile b/Makefile index 265a9dc96..6124015a4 100644 --- a/Makefile +++ b/Makefile @@ -130,3 +130,10 @@ pre-build: generate install-cross-build-tools else \ echo "arch target" $(GOARCH) "is not supported" ; \ fi + +.SILENT: debug +debug: + echo $(CGO_ENABLED) + echo $(CGO_FLAGS) + echo $(GOARCH) + echo $(CC)