From b8348a45bc92d86a11ea5828a74a88f2abb465f0 Mon Sep 17 00:00:00 2001 From: Florian Piesche Date: Fri, 30 Aug 2024 01:58:53 +0100 Subject: [PATCH] Try and debug workflow setup --- .github/workflows/c-cpp.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 4548153e7..d0a0f0d71 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -91,18 +91,27 @@ jobs: with: name: pd-i686-linux path: bin/ + - run: | + ls -la + ls -la perfect_dark - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 with: build-bundle: true bundle: io.github.fgsfdsfgs.perfect_dark.flatpak - manifest-path: dist/linux/io.github.fgsfdsfgs.perfect_dark.yml + manifest-path: perfect_dark/dist/linux/io.github.fgsfdsfgs.perfect_dark.yml cache-key: flatpak-builder-${{ github.sha }} - upload-artifact: true + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: io.github.fgsfdsfgs.perfect_dark.flatpak + path: io.github.fgsfdsfgs.perfect_dark.flatpak + retention-days: 0 + publish-latest-build: runs-on: ubuntu-latest if: github.ref == 'refs/heads/port' - needs: [build-i686-windows, build-i686-linux] + needs: [build-i686-windows, build-i686-linux, build-flatpak-bundle] permissions: contents: write steps: @@ -118,6 +127,7 @@ jobs: pushd ci-artifacts tar czf ../ci-release/pd-i686-linux.tar.gz pd-i686-linux zip -r ../ci-release/pd-i686-windows.zip pd-i686-windows + mv io.github.fgsfdsfgs.perfect_dark.flatpak ../ci-release/ popd git tag --force ci-dev-build port git push --force origin ci-dev-build