From efa2fdb013042842b873dc09b0eeee158c14701b Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 27 Nov 2024 17:36:32 -0800 Subject: [PATCH] Update update-libarchive.yml --- .github/workflows/update-libarchive.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)