From c70c13eb5c7f3b1bc93a2c2a70d98d6a5f2c5e16 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 12 Aug 2024 10:44:25 +0300 Subject: [PATCH] gha: don't upload flatpak, action does it for us. Print found artifacts, as it seems actions/download-artifact sometimes skips some --- .github/workflows/c-cpp.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3f3a41c9..8088e6ee 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -86,11 +86,6 @@ jobs: with: bundle: ${{ matrix.app }}.flatpak manifest-path: scripts/flatpak/${{ matrix.app }}.yml - - name: Upload engine (artifacts) - uses: actions/upload-artifact@v4 - with: - name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }} - path: artifacts/* release: name: "Upload releases" runs-on: ubuntu-latest @@ -109,10 +104,13 @@ jobs: - name: Repackage binaries and allow GitHub to process removed release for few seconds run: | pushd artifacts/ - for i in artifact-* su.xash.Engine.*; do + echo "Found artifacts:" + ls -R . + for i in $(ls artifact-* su.xash.Engine.*); do mv "$i"/* . rm -rf "$i" done + echo "Repackaged artifacts:" ls -R . popd sleep 20s