Skip to content

Commit

Permalink
ci: cross-build check: set annotation instead of failing the build
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 committed Jul 29, 2020
1 parent c7c6263 commit 0fc1bf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cross-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ jobs:
working-directory: ./cmd/caddy
run: |
GOOS=$GOOS go build -trimpath -o caddy-"$GOOS"-amd64
if [ $? -ne 0 ]; then
echo "::warning ::$GOOS Build Failed"
fi

0 comments on commit 0fc1bf6

Please sign in to comment.