Skip to content

Standardised dev commands in a Makefile #215

Standardised dev commands in a Makefile

Standardised dev commands in a Makefile #215

Workflow file for this run

name: 'PR: vscode'
on:
pull_request:
branches:
- develop
- release
paths:
- 'code/**'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}-devenv
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- uses: 'actions/checkout@v4'
- run: |
set -e
cd code
make release
name: Set Versions
- run: |
set -e
cd lib/esbonio
make dist
echo "ESBONIO_WHL=$(find $(pwd)/dist -name '*.whl')" >> $GITHUB_ENV
name: Package Language Server
- run: |
set -e
cd code
# Use in-repo version of esbonio for dev builds
echo "whl=${ESBONIO_WHL}"
ESBONIO=${ESBONIO_WHL} make dist
id: assets
name: Package Extension
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: 'vsix'
path: code/*.vsix
if-no-files-found: error
retention-days: 7