WOKRFLOW: fixing artifacts issues

This commit is contained in:
XargonWan 2024-11-15 09:37:08 +09:00
parent d6a930ffd4
commit 4f8e8d5d91

View file

@ -211,6 +211,8 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: retrodeck-artifacts name: retrodeck-artifacts
include-hidden-files: true
retention-days: 1
path: | path: |
RetroDECK*.flatpak RetroDECK*.flatpak
RetroDECK*.flatpak.sha RetroDECK*.flatpak.sha
@ -237,6 +239,9 @@ 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: Extract artifact zip
run: unzip retrodeck-artifacts.zip
# 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
id: set-repo id: set-repo
@ -284,9 +289,12 @@ jobs:
# 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 # 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.zip
# - name: Forgejo-publish # - name: Forgejo-publish
# if: github.ref == 'refs/heads/main' # if: github.ref == 'refs/heads/main'