From 91253b79c5d15f91ea184832aae4b73e53dc82cf Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Mon, 17 Aug 2026 14:38:13 -0400 Subject: [PATCH] ci : files de gitea-release-action en bloc YAML (retours a la ligne) - l'action splitte sur \n, le bloc plie en une ligne et ne trouvait aucun fichier ('not include valid file' -> rien n'etait uploade) --- .gitea/workflows/release.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e69fb23..69e4574 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -74,7 +74,11 @@ jobs: - name: Publish release uses: https://gitea.com/actions/gitea-release-action@v1 with: - files: dist/am-linux-x86_64.tar.gz + # L'action splitte 'files' sur les retours a la ligne (pas les + # espaces) : un bloc YAML plie en une seule ligne et ne trouve + # alors aucun fichier -> 'not include valid file', rien n'upload. + files: | + dist/am-linux-x86_64.tar.gz dist/am-linux-aarch64.tar.gz dist/checksums.txt GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} @@ -100,7 +104,8 @@ jobs: - name: Publish release uses: https://gitea.com/actions/gitea-release-action@v1 with: - files: dist/am-windows-x86_64.zip + files: | + dist/am-windows-x86_64.zip dist/checksums.txt GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} release_overwrite: true @@ -132,7 +137,8 @@ jobs: - name: Publish release uses: https://gitea.com/actions/gitea-release-action@v1 with: - files: dist/am-macos-x86_64.tar.gz + files: | + dist/am-macos-x86_64.tar.gz dist/am-macos-aarch64.tar.gz dist/checksums.txt GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}