fix(ci-cd): Fix CI:CD

This commit is contained in:
Myzel394 2024-10-16 22:53:54 +02:00
parent 75531bcb70
commit 14af044792
No known key found for this signature in database
GPG Key ID: ED20A1D1D423AF3F

View File

@ -43,11 +43,14 @@ jobs:
- name: Build release - name: Build release
run: nix build run: nix build
- name: Move binary to tmp
run: mv result/bin/config-lsp /tmp/config-lsp
- name: Build VS code extension - name: Build VS code extension
run: ./vs-code-extension/build-extension.sh run: ./vs-code-extension/build-extension.sh
- name: Zip folder - name: Zip folder
run: cd vs-code-extension/out/ && zip -r vs-code-extension.zip . && cd ../.. run: cd vs-code-extension/out/ && zip -r /tmp/vs-code-extension.zip .
- name: Upload config-lsp - name: Upload config-lsp
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@ -55,6 +58,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with: with:
files: | files: |
result/bin/config-lsp /tmp/config-lsp
vs-code-extension/out/vs-code-extension.zip /tmp/vs-code-extension.zip