Skip to content

Commit

Permalink
ci: add release.yml (#768)
Browse files Browse the repository at this point in the history
* Update pull_request_template.md

* Add release.yml

* Update ci.yml
  • Loading branch information
albertospelta authored Mar 17, 2024
1 parent 62fd8d7 commit 569e4ba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 31 deletions.
22 changes: 1 addition & 21 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
<!--
What issue does this PR address? (for example, #1234)
-->

Closes #[issue number]

## Description
<!--
A summary of the changes made along with any other information that would be helpful to a reviewer such as potential tradeoffs or alternative approaches you considered.
-->
-

### Screenshots

<!--
If this PR touches the UI layer of the app, please include screenshots or animated gifs to show the changes.
-->

## Release notes

<!--
You can leave this blank if you're not sure.
If you don't believe this PR needs to be mentioned in the release notes, write "Notes: no-notes".
-->

Notes:
Notes:
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
changelog:
categories:
- title: Breaking Changes
labels:
- breaking-change
- title: New Features
labels:
- feature
- title: Bug fixes
labels:
- bug
- title: Dependencies
labels:
- dependencies
- title: Other Changes
labels:
- "*"
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: CI
on:
pull_request:
workflow_dispatch:
env:
CONFIGURATION: 'Release'
jobs:
build-and-test:
runs-on: windows-latest
Expand All @@ -13,11 +11,9 @@ jobs:
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: .NET info
run: dotnet --info
- name: .NET restore
run: dotnet restore
- name: .NET build
run: dotnet build Bravo.sln --configuration ${{ env.CONFIGURATION }} --no-restore
- name: .NET test
run: dotnet test Bravo.sln --configuration ${{ env.CONFIGURATION }} --no-build --verbosity normal
- name: dotnet restore
run: dotnet restore
- name: dotnet build
run: dotnet build Bravo.sln --configuration Release --no-restore
- name: dotnet test
run: dotnet test Bravo.sln --configuration Release --no-build --verbosity normal

0 comments on commit 569e4ba

Please sign in to comment.