mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
BUILD_RELEASE:
- added artifacts download - enhanced forgejo publish (still disabled)
This commit is contained in:
parent
f554a09f6b
commit
4591537a5d
32
.github/workflows/build_release.yml
vendored
32
.github/workflows/build_release.yml
vendored
|
@ -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 }}
|
||||
|
||||
# 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 }}
|
Loading…
Reference in a new issue