Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
taooceros committed Jan 5, 2022
1 parent d9e72ba commit 6556915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
File renamed without changes.
13 changes: 6 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish Release

on:
push:
branches: [ master ]
paths-ignore:
branches: ["main"]
paths-ignore:
- .github/workflows/*
workflow_dispatch:

Expand All @@ -19,10 +19,10 @@ jobs:
- name: get version
id: version
uses: notiz-dev/github-action-json-property@release
with:
path: 'plugin.json'
prop_path: 'Version'
- run: echo ${{steps.version.outputs.prop}}
with:
path: "plugin.json"
prop_path: "Version"
- run: echo ${{steps.version.outputs.prop}}
- name: Publish
run: |
dotnet publish 'Flow.Plugin.VSCodeWorkspaces.csproj' -r win-x64 -c Release -o "Flow.Plugin.VSCodeWorkspaces-${{steps.version.outputs.prop}}"
Expand All @@ -35,4 +35,3 @@ jobs:
tag_name: "v${{steps.version.outputs.prop}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6556915

Please sign in to comment.