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 c9e85b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cross-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ jobs:
working-directory: ./cmd/caddy
run: |
GOOS=$GOOS go build -trimpath -o caddy-"$GOOS"-amd64
if [ $? -ne 0 ]; then
echo "::warning ::$GOOS Build Failed"
exit 0
fi

0 comments on commit c9e85b8

Please sign in to comment.