Skip to content

Commit d5c4cae

Browse files
committed
update order of steps
1 parent a21d908 commit d5c4cae

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
name: Upload .vxis in release asset
10+
name: Upload .vsix in release asset
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
@@ -21,9 +21,6 @@ jobs:
2121
- name: Package open .vsix
2222
run: yarn run packageWithoutDependencies
2323

24-
- name: VSIX Package
25-
run: yarn run package
26-
2724
- name: Create Release
2825
id: create_release
2926
uses: actions/[email protected]
@@ -48,26 +45,29 @@ jobs:
4845
id: version
4946
run: "echo ::set-output name=version::${GITHUB_REF:11}"
5047

51-
- name: Upload Release Asset
52-
id: upload-release-asset
48+
- name: Upload no dependencies release asset
49+
id: upload-open-release-asset
5350
uses: actions/[email protected]
5451
env:
5552
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5653
with:
5754
upload_url: ${{ steps.create_release.outputs.upload_url }}
58-
asset_path: ./esp-idf-extension.vsix
59-
asset_name: esp-idf-extension-${{ steps.version.outputs.version }}.vsix
55+
asset_path: ./esp-idf-extension-open.vsix
56+
asset_name: esp-idf-extension-open-${{ steps.version.outputs.version }}.vsix
6057
asset_content_type: application/zip
6158

62-
- name: Upload no dependencies release asset
63-
id: upload-open-release-asset
59+
- name: VSIX Package
60+
run: yarn run package
61+
62+
- name: Upload Release Asset
63+
id: upload-release-asset
6464
uses: actions/[email protected]
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
with:
6868
upload_url: ${{ steps.create_release.outputs.upload_url }}
69-
asset_path: ./esp-idf-extension-open.vsix
70-
asset_name: esp-idf-extension-open-${{ steps.version.outputs.version }}.vsix
69+
asset_path: ./esp-idf-extension.vsix
70+
asset_name: esp-idf-extension-${{ steps.version.outputs.version }}.vsix
7171
asset_content_type: application/zip
7272

7373
- name: Marketplace release

0 commit comments

Comments
 (0)