Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(ci): add a dry_run input to the AUR publish workflow
Etienne Lescot751b5376265e
diff --git a/.github/workflows/aur-publish.yml b/.github/workflows/aur-publish.ymlindex f378dc03b..533056a26 100644--- a/.github/workflows/aur-publish.yml+++ b/.github/workflows/aur-publish.yml@@ -9,6 +9,11 @@ on:description: "Release tag to publish (e.g. v1.5.0)"required: truetype: string+ dry_run:+ description: "Exécuter tout le pipeline mais s'arrêter avant le push AUR"+ required: false+ default: false+ type: booleanpermissions:contents: read@@ -289,9 +294,23 @@ jobs:fiecho "Diff limited to the expected bump."+ - name: Dry run — stop before touching the AUR+ if: steps.aur_secret.outputs.configured == 'true' && inputs.dry_run+ working-directory: aur-repo+ run: |+ set -euo pipefail+ echo "Mode dry_run : tout a été validé, rien ne sera poussé."+ echo "Ce qui aurait été committé :"+ git --no-pager diff --stat -- PKGBUILD .SRCINFO+ {+ echo "### Dry run — aucun push"+ echo "Le pipeline est allé jusqu'au bout des validations."+ echo "La clé de déploiement n'a pas été écrite sur le disque."+ } >> "$GITHUB_STEP_SUMMARY"+# La clé n'apparaît sur le disque qu'ici, une fois tout le contenu validé.- name: Setup SSH for AUR- if: steps.aur_secret.outputs.configured == 'true'+ if: steps.aur_secret.outputs.configured == 'true' && !inputs.dry_runenv:AUR_SSH_PRIVATE_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }}AUR_KNOWN_HOSTS: ${{ vars.AUR_KNOWN_HOSTS }}@@ -315,7 +334,7 @@ jobs:SSHCONF- name: Commit and push- if: steps.aur_secret.outputs.configured == 'true'+ if: steps.aur_secret.outputs.configured == 'true' && !inputs.dry_runworking-directory: aur-repoenv:VERSION: ${{ steps.meta.outputs.version }}