Skip to content

Commit

Permalink
create actions for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-IN authored May 17, 2020
1 parent 4e08fa0 commit 270408d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: .NET Core
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Pack
run: dotnet pack -c Release --no-build --include-symbols
- name: Push Nupkg to GitHub Packages
uses: tanaka-takayoshi/nuget-publish-to-github-packages-action@v2.1
with:
nupkg-path: './FetchBannerlordVersion/nupkg/*.nupkg'
repo-owner: 'Tyler-IN'
gh-user: 'Tyler-IN'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 270408d

Please sign in to comment.