Skip to content

Commit

Permalink
do it based off of tags
Browse files Browse the repository at this point in the history
  • Loading branch information
vangj committed Aug 4, 2020
1 parent a255da4 commit 77684d2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: .NET

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
tags:
- 'v*'

jobs:
build:
Expand All @@ -27,12 +26,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 1.0.2
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Automated Release by GitHub Action CI
draft: false
prerelease: true
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 77684d2

Please sign in to comment.