mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix(ci-cd): Fix ci:cd
This commit is contained in:
parent
dd9e92fca7
commit
b43cfcae7a
20
.github/workflows/release.yaml
vendored
20
.github/workflows/release.yaml
vendored
@ -82,12 +82,12 @@ jobs:
|
|||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
cross: false
|
cross: false
|
||||||
|
|
||||||
- target: x86_64-pc-windows-msvc
|
# - target: x86_64-pc-windows-msvc
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
cross: false
|
# cross: false
|
||||||
- target: aarch64-pc-windows-msvc
|
# - target: aarch64-pc-windows-msvc
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
cross: false
|
# cross: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
run: nix build .#"vs-code-extension"
|
run: nix build .#"vs-code-extension"
|
||||||
|
|
||||||
- name: Rename extension
|
- name: Rename extension
|
||||||
run: mv result/*.vsix result/$(basename result/*.vsix)-${{ matrix.target }}.vsix
|
run: cp result/*.vsix $(basename result/*.vsix)-${{ matrix.target }}.vsix
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -123,14 +123,10 @@ jobs:
|
|||||||
echo "target=linux-x64" >> $GITHUB_OUTPUT
|
echo "target=linux-x64" >> $GITHUB_OUTPUT
|
||||||
elif [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
|
elif [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
|
||||||
echo "target=linux-arm64" >> $GITHUB_OUTPUT
|
echo "target=linux-arm64" >> $GITHUB_OUTPUT
|
||||||
elif [ "${{ matrix.target }}" = "x86_64-pc-windows-msvc" ]; then
|
|
||||||
echo "target=win32-x64" >> $GITHUB_OUTPUT
|
|
||||||
elif [ "${{ matrix.target }}" = "aarch64-pc-windows-msvc" ]; then
|
|
||||||
echo "target=win32-arm64" >> $GITHUB_OUTPUT
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload extension to VS Code Marketplace
|
- name: Upload extension to VS Code Marketplace
|
||||||
run: nix develop .#"vs-code-extension" --command bash -c "cd result && vsce publish --target ${{ steps.vscode_target.outputs.target }} --packagePath *.vsix"
|
run: nix develop .#"vs-code-extension" --command bash -c "vsce publish --target ${{ steps.vscode_target.outputs.target }} --packagePath *.vsix"
|
||||||
env:
|
env:
|
||||||
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
|
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user