Release v1.2.5 #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy 🧬🚀 | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Install VSCE | |
run: npm i -g vsce | |
shell: bash | |
- name: Setup Git User | |
run: git config --global user.email "[email protected]" && git config --global user.name "Leandro Simões" | |
shell: bash | |
- name: Create Projects Folder | |
run: mkdir Projects | |
shell: bash | |
- name: Clone Project | |
working-directory: Projects | |
run: git clone https://${{ secrets.AUTH_TOKEN }}:[email protected]/leandrosimoes/project-urls-manager-vscode-extension.git --progress --single-branch --branch master | |
shell: bash | |
- name: Install Packages | |
working-directory: Projects\project-urls-manager-vscode-extension | |
run: npm i | |
shell: bash | |
- name: Package Extension | |
working-directory: Projects\project-urls-manager-vscode-extension | |
run: vsce package | |
shell: bash | |
- name: Publish Extension | |
working-directory: Projects\project-urls-manager-vscode-extension | |
run: vsce publish -p ${{ secrets.VSCE_TOKEN }} | |
shell: bash |