Workflow: not tagging latest a feature branch

This commit is contained in:
XargonWan 2024-08-01 09:15:51 +09:00
parent 403f567c03
commit 1cf73b061b
2 changed files with 13 additions and 8 deletions

View file

@ -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

4
.gitignore vendored
View file

@ -109,3 +109,7 @@ CPackSourceConfig.cmake
# VSCode
.vscode/
.flatpak-builder
es-de-build-dir
es-de-repo