Skip to content

Commit 034b9b6

Browse files
committed
chore(ci): fixup release pipeline
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent ba52822 commit 034b9b6

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ jobs:
3939
run: |
4040
make build-launcher-darwin
4141
- name: Upload DMG to Release
42-
uses: actions/upload-release-asset@v1
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
uses: softprops/action-gh-release@v2
4543
with:
46-
url: ${{ github.event.release.upload_url }}
47-
asset_path: ./dist/LocalAI-Launcher.dmg
48-
asset_name: LocalAI.dmg
49-
asset_content_type: application/octet-stream
44+
files: ./dist/LocalAI-Launcher.dmg
5045
launcher-build-linux:
5146
runs-on: ubuntu-latest
5247
steps:
@@ -64,11 +59,6 @@ jobs:
6459
sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev libxkbcommon-dev
6560
make build-launcher-linux
6661
- name: Upload Linux launcher artifacts
67-
uses: actions/upload-release-asset@v1
68-
env:
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
uses: softprops/action-gh-release@v2
7063
with:
71-
url: ${{ github.event.release.upload_url }}
72-
asset_path: ./local-ai-launcher-linux.tar.xz
73-
asset_name: LocalAI-Launcher-linux.tar.xz
74-
asset_content_type: application/octet-stream
64+
files: ./local-ai-launcher-linux.tar.xz

0 commit comments

Comments
 (0)