From 942e3ae5329c195e8a83bbea2d2b9c8c7fd95d77 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Wed, 8 Apr 2026 14:46:36 +0200 Subject: [PATCH] CI: Try again upload --- .gitea/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 78ab497..d6ce1a7 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,6 +13,7 @@ jobs: runs-on: durin steps: - uses: actions/checkout@v4 + - name: Build library shell: bash run: | @@ -20,6 +21,7 @@ jobs: cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j + - name: Upload release asset to Gitea if: github.ref_type == 'tag' shell: bash @@ -74,6 +76,6 @@ jobs: curl -fsS \ -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ - -F "attachment=@${file}" \ -F "name=${asset_name}" \ + -F "attachment=@${file};filename=${asset_name};type=application/octet-stream" \ "${api}/releases/${release_id}/assets" \ No newline at end of file