From 4591537a5d1fb0be3a8a745edc4b0ddfdde2d688 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 14 Nov 2024 10:07:56 +0900 Subject: [PATCH 1/3] BUILD_RELEASE: - added artifacts download - enhanced forgejo publish (still disabled) --- .github/workflows/build_release.yml | 32 ++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 02b6dc55..3bacd30c 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -186,6 +186,7 @@ jobs: echo "[DEBUG] CHECKPOINT 8" - name: "Build flatpak: download only" + id: flatpak-download run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/flatpak_build_download_only.sh" # Sometimes flatpak download fails, in this case it tries a second time @@ -225,7 +226,6 @@ jobs: steps: - name: Generate a token for Rekku - if: ${{ github.repository == 'RetroDECK/RetroDECK' }} id: generate-rekku-token uses: actions/create-github-app-token@v1 with: @@ -234,6 +234,9 @@ jobs: repositories: "RetroDECK,Cooker" owner: "RetroDECK" + - name: Download all workflow run artifacts + uses: actions/download-artifact@v4.1.8 + # Determine if Target Repository is Main or not, in that case is a Cooker build - name: Determine target repository id: set-repo @@ -273,13 +276,22 @@ jobs: # As backup we're even publishing the build on our own selfhosted Fogejo instance # Forgejo Publish Job if main branch # Forgejo-publish: - # if: github.ref == 'refs/heads/main' + # runs-on: ubuntu-latest # needs: Build_RetroDECK - # uses: RetroDECK/components-template/.github/workflows/fogejo_publish_release.yml@main - # with: - # release_body: ${{ env.RELEASE_BODY }} - # artifacts: "*.flatpak,*.flatpak.sha,*Artifact.tar.gz" - # tag: ${{ env.TAG }} - # secrets: - # FORGEJO_TRIGGER_BUILD_TOKEN: ${{ secrets.FORGEJO_TRIGGER_BUILD_TOKEN }} - \ No newline at end of file + # env: + # TAG: ${{ needs.Build_RetroDECK.outputs.TAG }} + # RELEASE_BODY: ${{ needs.Build_RetroDECK.outputs.RELEASE_BODY }} + # MAKE_LATEST: ${{ needs.Build_RetroDECK.outputs.MAKE_LATEST }} + # steps: + + # - name: Download all workflow run artifacts + # id: download-artifacts + # uses: actions/download-artifact@v4.1.8 + + # - name: Forgejo-publish + # if: github.ref == 'refs/heads/main' + # uses: RetroDECK/components-template/.github/workflows/fogejo_publish_release.yml@main + # with: + # release_body: ${{ env.RELEASE_BODY }} + # artifacts: "*.flatpak,*.flatpak.sha,*Artifact.tar.gz" + # tag: ${{ env.TAG }} \ No newline at end of file From 0f028402fe37963c7638048f718798d10e17f42a Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 14 Nov 2024 10:10:50 +0900 Subject: [PATCH 2/3] APPDATA: updated [skip ci] --- net.retrodeck.retrodeck.appdata.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml index c1fe1e8d..bc9c3da0 100644 --- a/net.retrodeck.retrodeck.appdata.xml +++ b/net.retrodeck.retrodeck.appdata.xml @@ -72,23 +72,22 @@

Changes:

    -
  • WELCOME TO cooker-0.9.0b!
  • -
  • RetroDECK is on a diet: we saved around 600mb
  • +
  • RetroDECK is on a diet: we saved around 600mb on the final build
  • Updated all the outdated emulators
  • Duckstation due to licensing changes is frozen at the latest possible build becoming de facto: Legacy
  • -
  • Duckstation configured to use OpenGL as Vulkan seems to be broken
  • +
  • Duckstation configured to use OpenGL as Vulkan seems to be broken in some cases
  • New Flash system via the new emulator: Ruffle
  • PortMaster is now included in RetroDECK!
  • Steam Sync is now a thing: favorite your games and enable the Steam Sync in the Configurator to find them as a Steam standalone games thank to Steam Rom Manager acting like an engine
  • -
  • New Configurator completely written in GODOT, now with controller support and many more features to you to discover
  • +
  • New Configurator completely written in GODOT, now with controller support and many more features for you to discover
  • New run game engine added to run games via cli, just run `flatpak run net.retrodeck.retrodeck start retrodeck/roms/system/game.ext`, `--help` for more info

Developers, developers, developers:

    -
  • Manifest was completely redone, more on that on the MONTH blog post
  • -
  • RetroDECK now is migrated to an organization on GitHub, as before, please check the MONTH blog post
  • +
  • Manifest was completely redone, more on that on the October blog post
  • +
  • RetroDECK now is migrated to an organization on GitHub, as before, please check the October blog post
  • pre_build_automation script weas reworked and additional functions are added
  • -
  • Contributing is now easier and the manifest build time is down to about 50m (was 3h30)
  • +
  • Contributing is now easier and the manifest build time is down to about 1h (was 3h30)

Known issues:

    From d6a930ffd4d6615dc706712c4d2a7ebd944335dd Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 14 Nov 2024 10:42:14 +0900 Subject: [PATCH 3/3] Triggering build --- .github/workflows/build_release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 3bacd30c..93010d19 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -294,4 +294,5 @@ jobs: # with: # release_body: ${{ env.RELEASE_BODY }} # artifacts: "*.flatpak,*.flatpak.sha,*Artifact.tar.gz" - # tag: ${{ env.TAG }} \ No newline at end of file + # tag: ${{ env.TAG }} + \ No newline at end of file