From 2beeca4bd5dea50015c5acc397b6c997640cb339 Mon Sep 17 00:00:00 2001 From: Rob Stryker Date: Fri, 4 Oct 2024 14:15:40 -0400 Subject: [PATCH] Attempt a release action Signed-off-by: Rob Stryker --- .github/workflows/gh-actions.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 8b9c7be..ec772c1 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -88,13 +88,16 @@ jobs: node-version: '18' - name: Install NodeJS dependencies run: npm install -g typescript "@vscode/vsce" "ovsx" + - name: Cache Version + run: | + echo "EXT_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV - name: Build vscode-server-connector run: | npm install npm run build - name: Package vscode-server-connector run: | - vsce package + vsce package o vscode-server-connector-{{ env.EXT_VERSION }}.vsix ls -lash *.vsix - name: Upload VSIX Artifacts uses: actions/upload-artifact@v4