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