diff --git a/.github/workflows/any-proxy.yml b/.github/workflows/any-proxy.yml index a04624e..5662e0c 100644 --- a/.github/workflows/any-proxy.yml +++ b/.github/workflows/any-proxy.yml @@ -25,9 +25,3 @@ jobs: - name: Run tests run: go test -v ./... - - - name: Run build failed script - if: failure() - run: | - ./make.bash build_failed - diff --git a/make.bash b/make.bash index 192a711..fbe5b5a 100755 --- a/make.bash +++ b/make.bash @@ -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 ','` @@ -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