From bf19d3717c756c253e64a704c047b4e17e998eb7 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 22 Apr 2025 09:52:39 +0200 Subject: ci: fix assets upload --- .github/workflows/release.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4d8bb6..6d75394 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: run: make build-api build-ui - name: Create GitHub Release + id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,6 +33,23 @@ jobs: release_name: Release ${{ github.ref_name }} draft: false prerelease: false - files: | - rahanna-api - rahanna-ui + + - name: Upload API Executable + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: rahanna-api + asset_name: rahanna-api + asset_content_type: application/octet-stream + + - name: Upload UI Executable + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: rahanna-ui + asset_name: rahanna-ui + asset_content_type: application/octet-stream -- cgit v1.2.3-18-g5258