From 1cf73b061baf8ab882e9241b0cb750e751d0eb13 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 1 Aug 2024 09:15:51 +0900 Subject: [PATCH] Workflow: not tagging latest a feature branch --- .github/workflows/build_es-de.yml | 17 +++++++++-------- .gitignore | 4 ++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_es-de.yml b/.github/workflows/build_es-de.yml index aeaca798d..35dad23d4 100644 --- a/.github/workflows/build_es-de.yml +++ b/.github/workflows/build_es-de.yml @@ -4,6 +4,7 @@ on: push: branches: - retrodeck-main + - feat/* workflow_dispatch: @@ -79,7 +80,7 @@ jobs: artifacts: "RetroDECK-ES-DE-Artifact.tar.gz, tree.html" allowUpdates: true - makeLatest: true + makeLatest: ${{ contains(env.BRANCH_NAME, 'feat/') && 'false' || 'true' }} token: ${{ secrets.TRIGGER_BUILD_TOKEN }} continue-on-error: true @@ -94,13 +95,13 @@ jobs: # git push origin main # continue-on-error: true # TODO: would be good to update the manifest but it's broken - - name: GitHub Commit & Push - uses: actions-js/push@v1.4 - with: - github_token: ${{ secrets.TRIGGER_BUILD_TOKEN }} - message: '[AUTOMATED] Updating ES-DE after build [skip ci]' - branch: retrodeck-main - continue-on-error: true # TODO: would be good to update the manifest but it's broken + # - name: GitHub Commit & Push + # uses: actions-js/push@v1.4 + # with: + # github_token: ${{ secrets.TRIGGER_BUILD_TOKEN }} + # message: '[AUTOMATED] Updating ES-DE after build [skip ci]' + # branch: retrodeck-main + # continue-on-error: true # TODO: would be good to update the manifest but it's broken diff --git a/.gitignore b/.gitignore index 48b3a92b6..2ef23aa1c 100644 --- a/.gitignore +++ b/.gitignore @@ -109,3 +109,7 @@ CPackSourceConfig.cmake # VSCode .vscode/ + +.flatpak-builder +es-de-build-dir +es-de-repo \ No newline at end of file