fix(ci-cd): Fix CI:CD

This commit is contained in:
Myzel394 2024-10-16 23:00:35 +02:00
parent e3737e5933
commit de1fd2d20c
No known key found for this signature in database
GPG Key ID: ED20A1D1D423AF3F

View File

@ -43,14 +43,12 @@ jobs:
- name: Build release - name: Build release
run: nix build run: nix build
- name: Move binary to tmp
run: mv result/bin/config-lsp ~/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 . shell: bash
run: cd vs-code-extension/out/ && zip -r vs-code-extension.zip . && cd ../..
- name: Upload config-lsp - name: Upload config-lsp
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@ -58,6 +56,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with: with:
files: | files: |
~/config-lsp ./result/bin/config-lsp
~/vs-code-extension.zip ./vs-code-extension/out/vs-code-extension.zip