diff --git a/.github/workflows/update-libarchive.yml b/.github/workflows/update-libarchive.yml index 54c4287a10..aa452d1cc2 100644 --- a/.github/workflows/update-libarchive.yml +++ b/.github/workflows/update-libarchive.yml @@ -18,6 +18,7 @@ jobs: - name: Check libarchive version id: check-version run: | + set -euxo pipefail CURRENT_VERSION=$(grep -oP 'LIBARCHIVE_VERSION\s+\K\S+' cmake/targets/BuildLibArchive.cmake) if [ -z "$CURRENT_VERSION" ]; then echo "Error: Could not find current version in BuildLibArchive.cmake" @@ -60,4 +61,4 @@ jobs: Updates libarchive to version ${{ steps.check-version.outputs.tag }} - Auto-updated by [this workflow](https://github.com/oven-sh/bun/actions/workflows/update-libarchive.yml) \ No newline at end of file + Auto-updated by [this workflow](https://github.com/oven-sh/bun/actions/workflows/update-libarchive.yml)