Skip to content

Commit

Permalink
update order of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Apr 27, 2021
1 parent a21d908 commit d5c4cae
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
name: Upload .vxis in release asset
name: Upload .vsix in release asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -21,9 +21,6 @@ jobs:
- name: Package open .vsix
run: yarn run packageWithoutDependencies

- name: VSIX Package
run: yarn run package

- name: Create Release
id: create_release
uses: actions/create-release@v1.0.0
Expand All @@ -48,26 +45,29 @@ jobs:
id: version
run: "echo ::set-output name=version::${GITHUB_REF:11}"

- name: Upload Release Asset
id: upload-release-asset
- name: Upload no dependencies release asset
id: upload-open-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./esp-idf-extension.vsix
asset_name: esp-idf-extension-${{ steps.version.outputs.version }}.vsix
asset_path: ./esp-idf-extension-open.vsix
asset_name: esp-idf-extension-open-${{ steps.version.outputs.version }}.vsix
asset_content_type: application/zip

- name: Upload no dependencies release asset
id: upload-open-release-asset
- name: VSIX Package
run: yarn run package

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./esp-idf-extension-open.vsix
asset_name: esp-idf-extension-open-${{ steps.version.outputs.version }}.vsix
asset_path: ./esp-idf-extension.vsix
asset_name: esp-idf-extension-${{ steps.version.outputs.version }}.vsix
asset_content_type: application/zip

- name: Marketplace release
Expand Down

0 comments on commit d5c4cae

Please sign in to comment.