Skip to content

Bump @azure/identity from 4.1.0 to 4.2.1 #196

Bump @azure/identity from 4.1.0 to 4.2.1

Bump @azure/identity from 4.1.0 to 4.2.1 #196

Workflow file for this run

name: Package
on: [push, pull_request]
jobs:
package:
name: Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download language server
run: |
ver=$(curl -s https://api.github.com/repos/VHDL-LS/rust_hdl/releases/latest | grep -oP '"tag_name": "v\K(.*)(?=")')
wget -P temp https://github.com/VHDL-LS/rust_hdl/releases/latest/download/vhdl_ls-x86_64-unknown-linux-musl.zip
wget -P temp https://github.com/VHDL-LS/rust_hdl/releases/latest/download/vhdl_ls-x86_64-pc-windows-msvc.zip
mkdir --parents server/vhdl_ls/$ver
unzip temp/vhdl_ls-x86_64-unknown-linux-musl.zip -d server/vhdl_ls/$ver
unzip temp/vhdl_ls-x86_64-pc-windows-msvc.zip -d server/vhdl_ls/$ver
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install NPM packages
run: |
npm install
npm install -g vsce
- run: vsce package
- run: mkdir vhdl-ls && cp *.vsix vhdl-ls
- uses: actions/upload-artifact@v4
with:
name: vhdl-ls
path: vhdl-ls
publish:
name: Publish
if: startsWith(github.ref, 'refs/tags/v')
needs: package
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: vhdl-ls
path: vhdl-ls
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Print env
run: |
echo ${GITHUB_REF:11}
ls
ls vhdl-ls
- run: npm install -g vsce
- run: vsce publish -p $PUBLISH_TOKEN --packagePath vhdl-ls/vhdl-ls-${GITHUB_REF:11}.vsix
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}