From 142e0c5e37f8cfe4c835b2355ecc4ea575da0c24 Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Mon, 10 Nov 2025 12:00:24 +0530 Subject: [PATCH] ci: upload appimage and binary separately --- .github/workflows/ci-linux-rust.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-linux-rust.yml b/.github/workflows/ci-linux-rust.yml index c670faa..30d706e 100644 --- a/.github/workflows/ci-linux-rust.yml +++ b/.github/workflows/ci-linux-rust.yml @@ -50,14 +50,19 @@ jobs: cp target/release/librepods-rust dist/librepods mv dist/LibrePods-x86_64.AppImage dist/librepods-x86_64.AppImage - - name: Upload build artifacts + - name: Upload AppImage artifact if: "!startsWith(github.ref, 'refs/tags/linux-v')" uses: actions/upload-artifact@v4 with: - name: LibrePods-Build - path: | - linux-rust/dist/librepods - linux-rust/dist/librepods-x86_64.AppImage + name: librepods-x86_64.AppImage + path: linux-rust/dist/librepods-x86_64.AppImage + + - name: Upload binary artifact + if: "!startsWith(github.ref, 'refs/tags/linux-v')" + uses: actions/upload-artifact@v4 + with: + name: librepods + path: linux-rust/dist/librepods - name: Vendor and create tarball if: startsWith(github.ref, 'refs/tags/linux-v')