mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-31 02:49:35 +08:00
[ci] fix Linux release artifact paths in containers
This commit is contained in:
@@ -177,13 +177,26 @@ jobs:
|
|||||||
verify-crossdesk-glibc-baseline "${VERIFY_DIR}" 2.31
|
verify-crossdesk-glibc-baseline "${VERIFY_DIR}" 2.31
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: Stage Linux release artifacts
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir -p linux-artifacts
|
||||||
|
for PACKAGE in crossdesk crossdesk-virtual-desktop-xfce; do
|
||||||
|
FILE="${PACKAGE}-linux-${{ matrix.arch }}-${LEGAL_VERSION}.deb"
|
||||||
|
if [[ ! -s "${FILE}" ]]; then
|
||||||
|
echo "::error::Missing or empty Linux package: ${FILE}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cp "${FILE}" linux-artifacts/
|
||||||
|
done
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: crossdesk-linux-${{ matrix.arch }}-${{ env.LEGAL_VERSION }}
|
name: crossdesk-linux-${{ matrix.arch }}-${{ env.LEGAL_VERSION }}
|
||||||
path: |
|
# A single relative directory avoids container translation of multiline
|
||||||
${{ github.workspace }}/crossdesk-linux-${{ matrix.arch }}-${{ env.LEGAL_VERSION }}.deb
|
# absolute paths and keeps both package filenames at the artifact root.
|
||||||
${{ github.workspace }}/crossdesk-virtual-desktop-xfce-linux-${{ matrix.arch }}-${{ env.LEGAL_VERSION }}.deb
|
path: linux-artifacts/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
|
|||||||
Reference in New Issue
Block a user