From 5f5a73def4d9ac751d284cb456117480e4ddbf7e Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Wed, 25 Oct 2023 13:27:40 -0700 Subject: [PATCH] Update bashbrew action to 0.1.9 this release disables cgo during the bashbrew.sh build script which will fix the `windows-2022` build failures on GitHub actions > C:\hostedtoolcache\windows\go\1.18.10\x64\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 --- .github/workflows/.bashbrew/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/.bashbrew/action.yml b/.github/workflows/.bashbrew/action.yml index aba6e2c86..37e0998f6 100644 --- a/.github/workflows/.bashbrew/action.yml +++ b/.github/workflows/.bashbrew/action.yml @@ -10,8 +10,8 @@ runs: # these two version numbers are intentionally as close together as I could possibly get them because no matter what I tried, GitHub will not allow me to DRY them (can't have any useful variables in `uses:` and can't even have YAML references to steal it in `env:` or something) - shell: 'bash -Eeuo pipefail -x {0}' - run: echo BASHBREW_VERSION=v0.1.8 >> "$GITHUB_ENV" - - uses: docker-library/bashbrew@v0.1.8 + run: echo BASHBREW_VERSION=v0.1.9 >> "$GITHUB_ENV" + - uses: docker-library/bashbrew@v0.1.9 if: inputs.build == 'host' - run: docker build --pull --tag oisupport/bashbrew:base "https://github.com/docker-library/bashbrew.git#$BASHBREW_VERSION"