Skip to content

Commit

Permalink
enable workflow_dispatch to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Feb 6, 2024
1 parent 1458d88 commit aed4276
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build Release

on:
release:
types: [published]
workflow_dispatch:


jobs:
releases-matrix:
Expand Down Expand Up @@ -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 }}
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit aed4276

Please sign in to comment.