From 7441f1f916e24c692ebba05f826e2c014c6082ab Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Sat, 18 May 2019 22:17:34 -0700 Subject: [PATCH] add publish action for VS Marketplace --- .github/main.workflow | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index 47b99b5..410118c 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,6 +1,6 @@ workflow "Build, Test & Publish" { on = "push" - resolves = ["Release"] + resolves = ["Publish"] } action "Check Code" { @@ -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"] +}