From 2d4fc2c345874c46d82472c2cca8bccb9c8706a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= Date: Fri, 1 Mar 2024 23:07:42 +0000 Subject: [PATCH] Add musl build for ci --- .github/workflows/github-actions.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index a8ea901..c7cec46 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -21,12 +21,17 @@ jobs: name: linux outputname: Alma version_script: .scripts/versioning.sh + - runtime: linux-musl-x64 + runner: ubuntu-latest + name: linux-musl + outputname: Alma + version_script: .scripts/versioning.sh steps: - uses: actions/checkout@v3 - name: Setup dotnet uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Patch version run: ${{ matrix.target.version_script }} continue-on-error: true @@ -53,6 +58,11 @@ jobs: with: name: alma-linux path: app/linux/ + - uses: actions/download-artifact@v3 + name: Download Linux musl artifacts + with: + name: alma-linux + path: app/linux-musl/ - name: Create release directory run: mkdir release @@ -62,6 +72,9 @@ jobs: - name: Copy linux executable run: cp app/linux/Alma release/alma-linux + + - name: Copy linux-musl executable + run: cp app/linux-musl/Alma release/alma-linux-musl - uses: "marvinpinto/action-automatic-releases@latest" name: Create release