diff --git a/.github/scripts/build-macos-release.sh b/.github/scripts/build-macos-release.sh index f44199eb5..822d00c75 100755 --- a/.github/scripts/build-macos-release.sh +++ b/.github/scripts/build-macos-release.sh @@ -18,11 +18,11 @@ fix_path() } -BUILD="$(mktemp -d)/echidna-test" +BUILD="$(mktemp -d)/echidna" mkdir -p "$BUILD" -cp "$HOME/.local/bin/echidna-test" "$BUILD" +cp "$HOME/.local/bin/echidna" "$BUILD" -BINARY="$BUILD/echidna-test" +BINARY="$BUILD/echidna" add_rpath "$BINARY" fix_path "$BINARY" libsecp256k1 "@rpath/libsecp256k1.dylib" fix_path "$BINARY" libff "@rpath/libff.dylib" diff --git a/.github/scripts/release-binary.sh b/.github/scripts/release-binary.sh index 094cf8161..0f5441bc9 100755 --- a/.github/scripts/release-binary.sh +++ b/.github/scripts/release-binary.sh @@ -2,7 +2,7 @@ TAG="$1" OS="$(lsb_release -is)-$(lsb_release -rs)" echo "Building binary..." echo "Compressing binary.." -REPO="echidna-test" +REPO="echidna" BIN="$(stack path --local-install-root)/bin/$REPO" echo $BIN BUNDLE_NAME="$REPO-$TAG-$OS.tar.gz" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 816452253..002171c0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: apt-get: autoconf automake libtool - os: macos-latest brew: automake - + steps: - name: Get Packages uses: mstksg/get-package@v1 @@ -72,13 +72,13 @@ jobs: - name: Compress binary (Linux) if: runner.os == 'Linux' - run: GZIP=-9 tar -czf echidna-test.tar.gz -C $HOME/.local/bin/ echidna-test + run: GZIP=-9 tar -czf echidna.tar.gz -C $HOME/.local/bin/ echidna - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: echidna-test-${{ runner.os }} - path: echidna-test.tar.gz + name: echidna-${{ runner.os }} + path: echidna.tar.gz - name: Build and copy test suite if: runner.os == 'Linux'