Skip to content

Commit fa1f26a

Browse files
committed
main - test run github action
1 parent 8031994 commit fa1f26a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
- uses: actions/setup-node@v2
1414
with:
1515
node-version: 14.12.0
16+
# Install dependencies
1617
- run: npm install
1718
- run: npm install -g vsce
19+
# Build the extension
1820
- run: vsce package
19-
# Read the version from the package.json file
20-
- run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
2121
# Upload the VSIX file as an artifact with version number
2222
- uses: actions/upload-artifact@v3
2323
with:
24-
name: commit-extension-${{ env.VERSION }}
24+
name: commit-extension
2525
path: ./*.vsix
2626

2727
# Create a release with the version number
@@ -32,7 +32,7 @@ jobs:
3232
# Download the VSIX file from the artifact
3333
- uses: actions/download-artifact@v2
3434
with:
35-
name: commit-extension-${{ env.VERSION }}
35+
name: commit-extension
3636
path: ./
3737

3838
# Upload the VSIX file to the Github release

0 commit comments

Comments
 (0)