Skip to content

Commit

Permalink
gha: don't upload flatpak, action does it for us. Print found artifac…
Browse files Browse the repository at this point in the history
…ts, as it seems actions/download-artifact sometimes skips some
  • Loading branch information
a1batross committed Aug 12, 2024
1 parent d905ea3 commit c70c13e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c70c13e

Please sign in to comment.