From a771061b393dab5d2f9e13bdbc10eb44cb861a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Basile=20Cl=C3=A9ment?= Date: Fri, 31 May 2024 15:45:21 +0200 Subject: [PATCH] WIP: Test --- .github/workflows/build_static.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build_static.yml b/.github/workflows/build_static.yml index a9ac8e528..4bf193617 100644 --- a/.github/workflows/build_static.yml +++ b/.github/workflows/build_static.yml @@ -7,6 +7,9 @@ on: branches: - next - main + release: + types: + - created jobs: macos-static: @@ -95,3 +98,11 @@ jobs: with: name: alt-ergo-x86_64-linux-musl path: _destdir/opt/alt-ergo/bin/alt-ergo + + - uses: svenstaro/upload-release-action@v2 + if: ${{ github.event_name == 'release' }} + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: _destdir/opt/alt-ergo/bin/alt-ergo + asset_name: alt-ergo-${{ github.event.release.name }}-x86_64-linux-musl + tag: ${{ github.event.release.tag_name }}