Skip to content

Commit

Permalink
add publish action for VS Marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseadamsio committed May 19, 2019
1 parent 4ad7b01 commit 7441f1f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
workflow "Build, Test & Publish" {
on = "push"
resolves = ["Release"]
resolves = ["Publish"]
}

action "Check Code" {
Expand All @@ -19,10 +19,9 @@ action "Release" {
secrets = ["GITHUB_TOKEN"]
}

# action "Publish" {
# needs = "Tag"
# uses = "lannonbr/vsce-action@master"
# args = "publish -p $VSCE_TOKEN"
# secrets = ["GITHUB_TOKEN"]
# secrets = ["VSCE_TOKEN"]
# }
action "Publish" {
needs = "Release"
uses = "lannonbr/vsce-action@master"
args = "publish -p $VSCE_TOKEN"
secrets = ["VSCE_TOKEN", "GITHUB_TOKEN"]
}

0 comments on commit 7441f1f

Please sign in to comment.