Skip to content

Commit

Permalink
Try to handle tag, release & publish with actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tenninebt committed Oct 27, 2022
1 parent 941e23b commit c3ef70c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: Publish

# Controls when the action will run.
on:
push:
tags:
- "*"
# push:
# tags:
# - "*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -30,3 +30,14 @@ jobs:
id: publishToOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Create Tag
uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
${{ steps.publishToOpenVSX.outputs.vsixPath }}
id: "automatic_releases"

0 comments on commit c3ef70c

Please sign in to comment.