Skip to content

Commit

Permalink
Pushing publish changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kanieski committed Dec 8, 2020
1 parent 187fff3 commit 85afe18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
build:

runs-on: windows-latest
env:
APP_VERSION: ${{ github.event.inputs.version_number || github.ref}}

steps:
- uses: actions/checkout@v2
Expand All @@ -28,16 +26,18 @@ jobs:
run: dotnet restore

- name: Publish
run: .\Publish.ps1 -Tag $Env:APP_VERSION
id: publish
run: .\Publish.ps1 -Tag ${{ github.event.inputs.version_number || github.ref}}


- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${APP_VERSION}
release_name: Release ${APP_VERSION}
tag_name: ${{ github.event.inputs.version_number || github.ref}}
release_name: Release ${{ github.event.inputs.version_number || github.ref}}
body: Latest Build
draft: false
prerelease: false
Expand Down

0 comments on commit 85afe18

Please sign in to comment.