Skip to content

Commit

Permalink
ci: create release with app package
Browse files Browse the repository at this point in the history
  • Loading branch information
protyposis committed Dec 7, 2023
1 parent ca23b04 commit 33b6b1a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
push:
branches: [ "main" ]
tags: [ "v*" ]
pull_request:
branches: [ "main" ]

Expand All @@ -22,4 +23,13 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Debug
run: dotnet build --no-restore -c Release
- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
run: dotnet publish ./AudioAlign/ -c Release -o dist --no-restore --no-build
- name: GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
draft: true # create draft release because changelog needs to be added manually (and could be too easily forgotten otherwise)
files: ./dist/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ obj/
**/packages/*

licenseinfo.txt
/dist

0 comments on commit 33b6b1a

Please sign in to comment.