Skip to content

Commit

Permalink
Fix release branch for marketplace
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed May 31, 2022
1 parent 6ca9add commit 09f0480
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ name: Release

on:
workflow_dispatch:
inputs:
should_create_tag:
description: "Create tag"
required: false
default: true
type: boolean

should_release_on_github:
description: "Release on GitHub"
required: false
default: true
type: boolean

should_release_on_marketplace:
description: "Release on Marketplace"
required: false
default: true
type: boolean

jobs:
package:
Expand Down Expand Up @@ -99,7 +81,6 @@ jobs:
name: Release (GitHub)
needs: package
runs-on: ubuntu-latest
if: ${{ github.event.inputs.should_release_on_github }}

steps:
- name: Download artifacts
Expand All @@ -126,7 +107,6 @@ jobs:
name: Release (Marketplace)
needs: package
runs-on: ubuntu-latest
if: ${{ github.event.inputs.should_release_on_marketplace }}

steps:
- name: Checkout
Expand Down Expand Up @@ -156,5 +136,5 @@ jobs:
- name: Release
run: |
for file in releases/*; do
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE }} --packagePath $file
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE }} --packagePath $file --githubBranch main
done

0 comments on commit 09f0480

Please sign in to comment.