Skip to content

Commit 2f250ff

Browse files
committed
workaround ci error
1 parent ba8cb03 commit 2f250ff

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches: [main]
7-
tags: ['0.[0-9]+.[0-9]+']
7+
tags: ['*']
88

99
jobs:
1010
test:
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-node@v4
1818
with:
1919
node-version: 18.x
20-
- uses: pnpm/action-setup@v2
20+
- uses: pnpm/action-setup@v3
2121
with:
2222
version: 8
2323
- name: Install dependencies
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/setup-node@v4
3535
with:
3636
node-version: 18.x
37-
- uses: pnpm/action-setup@v2
37+
- uses: pnpm/action-setup@v3
3838
with:
3939
version: 8
4040
- uses: bait-lang/setup-bait@main
@@ -52,7 +52,8 @@ jobs:
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: vba.vsix
55-
path: vscode-vba-0.*.*.vsix
55+
path: vba.vsix
56+
if-no-files-found: error
5657

5758

5859
publish:
@@ -64,10 +65,13 @@ jobs:
6465
steps:
6566
- name: Download artifact
6667
uses: actions/download-artifact@v4
68+
with:
69+
name: vba.vsix
6770

6871
- name: Create Release
6972
uses: softprops/action-gh-release@v1
7073
with:
74+
fail_on_unmatched_files: true
7175
files: vba.vsix
7276

7377
- id: publish_to_marketplace

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"test-vba": "vscode-tmgrammar-test -g ./out/vba.json \"syntaxes/tests/vba/*.bas\"",
121121
"test-wwb": "vscode-tmgrammar-test -g ./out/wwb.json \"syntaxes/tests/other/*.wwd\"",
122122
"install-dev-ext": "vsce package -o ./out/vscode-vba-dev.vsix && code --install-extension ./out/vscode-vba-dev.vsix --force",
123-
"package": "vsce package",
123+
"package": "vsce package -o vba.vsix",
124124
"convert-yaml": "yaml2json language-configuration.yml \"syntaxes/*.yaml-tmlanguage\" \"snippets/*.yml\"",
125125
"vscode:prepublish": "pnpm run compile && pnpm run convert-yaml"
126126
},

0 commit comments

Comments
 (0)