make releases on tag push

This commit is contained in:
Adam 2020-12-26 15:18:01 +11:00
parent d7fda7cf1b
commit ceee22e72d
2 changed files with 61 additions and 2 deletions

View file

@ -1,6 +1,10 @@
name: .NET Build
on: [push, pull_request]
on:
push:
branches: '*'
tags-ignore: '*'
pull_request:
jobs:
build:
@ -21,7 +25,7 @@ jobs:
run: |
dotnet build --no-restore --configuration Release --nologo
- name: Archive
run: Compress-Archive -Path Penumbra/bin/Release/* -DestinationPath Penumbra.zip
run: Compress-Archive -Path Penumbra/bin/Release/net472/* -DestinationPath Penumbra.zip
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.1
with: