From 5681a7498509950e242fb283f5824ec75f389b87 Mon Sep 17 00:00:00 2001 From: Stanislav Pastushenko Date: Wed, 10 Dec 2025 22:53:02 +0100 Subject: [PATCH] guitea build --- .gitea/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 08d85f5..5d0d8e9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -70,10 +70,15 @@ jobs: fi - name: Prepare artifact - shell: bash + # ⚠️ Change the shell from 'bash' to 'sh' + shell: sh run: | mkdir -p dist - cp target/${{ matrix.target }}/release/rlogg${{ matrix.binary_extension }} dist/${{ matrix.artifact_name }}${{ matrix.binary_extension }} + if [ "${{ matrix.platform }}" = "linux" ]; then + cp target/release/rlogg${{ matrix.binary_extension }} dist/${{ matrix.artifact_name }}${{ matrix.binary_extension }} + else + cp target/${{ matrix.target }}/release/rlogg${{ matrix.binary_extension }} dist/${{ matrix.artifact_name }}${{ matrix.binary_extension }} + fi - name: Upload artifact uses: actions/upload-artifact@v4