Skip to content

Commit

Permalink
Remove build_failed, not needed with GHActions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchapman committed Jul 15, 2024
1 parent aa86777 commit 5265535
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/any-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ jobs:
- name: Run tests
run: go test -v ./...

- name: Run build failed script
if: failure()
run: |
./make.bash build_failed
15 changes: 0 additions & 15 deletions make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ function build ()
return $?
}

function build_failed ()
{
echo "TRAVIS_TEST_RESULT=$TRAVIS_TEST_RESULT"
echo "Build failed."
echo "CWD:"
pwd | sed 's/^/ /g'
echo "Environment:"
set | sed 's/^/ /g'
echo "$BUILD_DIR/version.go:"
cat $BUILD_DIR/version.go | sed 's/^/ /g'
}

function make_debian_package ()
{
local VERSION=`./any_proxy -h | head -1 | awk '{print $2 "-" $4}' | tr -d ','`
Expand All @@ -68,9 +56,6 @@ case $1 in
"version")
make_version
;;
"build_failed")
build_failed
;;
"package_write_pubkey")
TMPF=`mktemp /tmp/anyproxy_pub.XXX`.key
gpg --export -a "ryan@rchapman.org" > $TMPF
Expand Down

0 comments on commit 5265535

Please sign in to comment.