mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
ci: 👷 Added the release step
This commit is contained in:
parent
404b3517e9
commit
5b816fa906
1 changed files with 26 additions and 8 deletions
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
|
@ -56,17 +56,18 @@ jobs:
|
|||
cd src
|
||||
dotnet test --logger trx --results-directory "TestResults"
|
||||
|
||||
- name: Upload dotnet test results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dotnet-results
|
||||
path: src/TestResults
|
||||
# Use always() to always run this step to publish test results when there are test failures
|
||||
if: ${{ always() }}
|
||||
## Don't need yet
|
||||
# - name: Upload dotnet test results
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: dotnet-results
|
||||
# path: src/TestResults
|
||||
# # Use always() to always run this step to publish test results when there are test failures
|
||||
# if: ${{ always() }}
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-ui]
|
||||
needs: [ build-ui ]
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
@ -134,3 +135,20 @@ jobs:
|
|||
path: |
|
||||
./src/Ombi/${{ matrix.os }}.${{ matrix.format }}
|
||||
|
||||
release:
|
||||
needs: [ publish, unit-test ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Conventional Changelog Action
|
||||
uses: TriPSs/conventional-changelog-action@v3
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
git-message: 'chore(release): {version}'
|
||||
|
||||
- name: Download Artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue