Skip to content

Commit

Permalink
Use newly release bant in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed May 27, 2024
1 parent f7f359a commit 635ae88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Get Bant
run: |
# TODO: provide this as action where we simply say with version=...
VERSION="v0.1.0"
VERSION="v0.1.3"
STATIC_VERSION="bant-${VERSION}-linux-static-x86_64"
wget "https://github.com/hzeller/bant/releases/download/${VERSION}/${STATIC_VERSION}.tar.gz"
tar xvzf "${STATIC_VERSION}.tar.gz"
Expand Down Expand Up @@ -170,6 +170,7 @@ jobs:
CLANG_TIDY=clang-tidy-18 scripts/run-clang-tidy-cached.cc \
|| ( cat bant_clang-tidy.out ; exit 1)
# TODO: can this be done _after_ the tagging had taken place ?
BuildStaticBinary:
runs-on: ubuntu-24.04
steps:
Expand Down Expand Up @@ -202,7 +203,7 @@ jobs:
# If at exactly a tag, that will be left as-is
VERSION=$(git describe --match=v* 2>/dev/null \
| sed 's/v\([^-]*\)-\([0-9]*\)-.*/v\1-\2/')
OUT=bant-${VERSION}-x86
OUT=bant-${VERSION}-linux-static-x86_64
echo "OUT=${OUT}" >> $GITHUB_ENV
mkdir -p "${OUT}/bin"
Expand Down

0 comments on commit 635ae88

Please sign in to comment.