Merge branch 'cooker' into feat/steam-rom-manager

This commit is contained in:
XargonWan 2024-09-04 16:29:41 +09:00
commit 0f00605453

View file

@ -41,6 +41,7 @@ jobs:
continue-on-error: true continue-on-error: true
- name: Generate a token for Rekku - name: Generate a token for Rekku
if: ${{ github.repository == 'RetroDECK/RetroDECK' }}
id: generate-rekku-token id: generate-rekku-token
uses: actions/create-github-app-token@v1 uses: actions/create-github-app-token@v1
with: with:
@ -176,10 +177,11 @@ jobs:
allowUpdates: true allowUpdates: true
makeLatest: ${{env.MAKE_LATEST}} # if it's a feat branch is not considered the latest build makeLatest: ${{env.MAKE_LATEST}} # if it's a feat branch is not considered the latest build
token: ${{ steps.generate-rekku-token.outputs.token }} token: ${{ steps.generate-rekku-token.outputs.token }}
repo: Cooker repo: ${{ github.repository_owner == 'RetroDECK' && 'Cooker' || github.event.repository.name }} # "Cooker" if we are in RetroDECK Org, else "this repo"
continue-on-error: true continue-on-error: true
- name: Rewrite Tag - name: Rewrite Tag
if: ${{ github.repository == 'RetroDECK/RetroDECK' }}
run: | run: |
git submodule deinit -f --all git submodule deinit -f --all
git fetch --tags git fetch --tags
@ -202,14 +204,6 @@ jobs:
path: RetroDECK-cooker.flatpak path: RetroDECK-cooker.flatpak
continue-on-error: true continue-on-error: true
- name: Create Artifact for flathub
run: |
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.tar.gz -C ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker .
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.tar.gz))
echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha
mv -f RetroDECK-Artifact-cooker.* ${{ secrets.ARTIFACT_REPO }}
continue-on-error: true
# - name: Upload RetroDECK-cooker.flatpak to Gitea Release # - name: Upload RetroDECK-cooker.flatpak to Gitea Release
# run: | # run: |
# # Set variables for Gitea host, organization, repository, access token, and release details # # Set variables for Gitea host, organization, repository, access token, and release details