2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

gha: don't upload flatpak, action does it for us. Print found artifacts, as it seems actions/download-artifact sometimes skips some

This commit is contained in:
Alibek Omarov 2024-08-12 10:44:25 +03:00
parent d905ea354e
commit c70c13eb5c

View File

@ -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