From 4d4f1ffba782a8c724f47cc00333d2319a029d14 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Wed, 20 Dec 2023 05:52:41 -0800 Subject: [PATCH] Actually pack up static results for release. Now that the Build job is not running anymore, we need to get the resulting binaries from the regular CI run. --- .github/workflows/verible-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/verible-ci.yml b/.github/workflows/verible-ci.yml index 46e91233b0..cacf886688 100644 --- a/.github/workflows/verible-ci.yml +++ b/.github/workflows/verible-ci.yml @@ -240,6 +240,17 @@ jobs: name: verible-bin path: verible-bin.tar + - name: Pack up static results + if: matrix.mode = 'compile-static' + run: | + VERSION=$(git describe --match=v*) + bazel run -c opt :install -- verible-${VERSION} + tar cvzf verible-${VERSION}-linux-static-${matrix.arch}.tar.gz verible-${VERSION} + + - name: 📤 Upload artifact + uses: actions/upload-artifact@v2 + with: + path: verible-*.tar.gz - name: 📤 Upload performance graphs uses: actions/upload-artifact@v2