WORKFLOW:

- artifacts are now persistent like before
- aded missing token parameter to the release publishment
- removed debug steps
This commit is contained in:
XargonWan 2024-11-17 20:20:55 +09:00
parent 285c17c356
commit f5349a7fbc

View file

@ -212,7 +212,6 @@ jobs:
with: with:
name: retrodeck-artifacts name: retrodeck-artifacts
include-hidden-files: true include-hidden-files: true
retention-days: 1
path: | path: |
RetroDECK*.flatpak RetroDECK*.flatpak
RetroDECK*.flatpak.sha RetroDECK*.flatpak.sha
@ -238,9 +237,6 @@ jobs:
- name: Download all workflow run artifacts - name: Download all workflow run artifacts
uses: actions/download-artifact@v4.1.8 uses: actions/download-artifact@v4.1.8
- name: "[DEBUG] Listing artifacts"
run: sudo apt install -y tree && tree .
# Determine if Target Repository is Main or not, in that case is a Cooker build # Determine if Target Repository is Main or not, in that case is a Cooker build
- name: Determine target repository - name: Determine target repository
@ -263,6 +259,7 @@ jobs:
allowUpdates: true allowUpdates: true
makeLatest: ${{ env.MAKE_LATEST }} makeLatest: ${{ env.MAKE_LATEST }}
repo: ${{ env.REPO_NAME }} repo: ${{ env.REPO_NAME }}
token: ${{ steps.generate-rekku-token.outputs.token }}
# Rewrite Tag (for Main Branch Only) # Rewrite Tag (for Main Branch Only)
- name: Rewrite Tag - name: Rewrite Tag
@ -289,14 +286,10 @@ jobs:
# RELEASE_BODY: ${{ needs.Build_RetroDECK.outputs.RELEASE_BODY }} # RELEASE_BODY: ${{ needs.Build_RetroDECK.outputs.RELEASE_BODY }}
# MAKE_LATEST: ${{ needs.Build_RetroDECK.outputs.MAKE_LATEST }} # MAKE_LATEST: ${{ needs.Build_RetroDECK.outputs.MAKE_LATEST }}
# steps: # steps:
#
# - name: Download all workflow run artifacts # - name: Download all workflow run artifacts
# id: download-artifacts # uses: actions/download-artifact@v4.1.8
# uses: actions/download-artifact@v4.1.8 #
# - name: Extract artifact zip
# run: unzip retrodeck-artifacts
# - name: Forgejo-publish # - name: Forgejo-publish
# if: github.ref == 'refs/heads/main' # if: github.ref == 'refs/heads/main'
# uses: RetroDECK/components-template/.github/workflows/fogejo_publish_release.yml@main # uses: RetroDECK/components-template/.github/workflows/fogejo_publish_release.yml@main