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:
parent
d905ea354e
commit
c70c13eb5c
1 changed files with 4 additions and 6 deletions
10
.github/workflows/c-cpp.yml
vendored
10
.github/workflows/c-cpp.yml
vendored
|
@ -86,11 +86,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
bundle: ${{ matrix.app }}.flatpak
|
bundle: ${{ matrix.app }}.flatpak
|
||||||
manifest-path: scripts/flatpak/${{ matrix.app }}.yml
|
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:
|
release:
|
||||||
name: "Upload releases"
|
name: "Upload releases"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -109,10 +104,13 @@ jobs:
|
||||||
- name: Repackage binaries and allow GitHub to process removed release for few seconds
|
- name: Repackage binaries and allow GitHub to process removed release for few seconds
|
||||||
run: |
|
run: |
|
||||||
pushd artifacts/
|
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"/* .
|
mv "$i"/* .
|
||||||
rm -rf "$i"
|
rm -rf "$i"
|
||||||
done
|
done
|
||||||
|
echo "Repackaged artifacts:"
|
||||||
ls -R .
|
ls -R .
|
||||||
popd
|
popd
|
||||||
sleep 20s
|
sleep 20s
|
||||||
|
|
Loading…
Add table
Reference in a new issue