Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Coborax authored Nov 13, 2022
1 parent a59ed69 commit bbec07a
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: .NET

on:
push:
release:
branches: [ "main" ]

jobs:
Expand All @@ -23,8 +23,17 @@ jobs:
- name: Build
working-directory: Signe.Editor
run: dotnet build --no-restore
- name: Upload Build Artifact
uses: actions/upload-artifact@v3.1.1
- name: Archive Editor Windows Release
uses: thedoctor0/zip-release@main
with:
name: editor-build
path: Signe.Editor/bin/Debug/net6.0
directory: Signe.Editor/bin/Debug/net6.0
type: 'zip'
filename: 'editor-windows.zip'
- name: Upload Archives to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: 'editor-windows.zip'
asset_name: editor-windows
tag: ${{ github.ref }}
overwrite: true

0 comments on commit bbec07a

Please sign in to comment.