mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -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
|
cd src
|
||||||
dotnet test --logger trx --results-directory "TestResults"
|
dotnet test --logger trx --results-directory "TestResults"
|
||||||
|
|
||||||
- name: Upload dotnet test results
|
## Don't need yet
|
||||||
uses: actions/upload-artifact@v2
|
# - name: Upload dotnet test results
|
||||||
with:
|
# uses: actions/upload-artifact@v2
|
||||||
name: dotnet-results
|
# with:
|
||||||
path: src/TestResults
|
# name: dotnet-results
|
||||||
# Use always() to always run this step to publish test results when there are test failures
|
# path: src/TestResults
|
||||||
if: ${{ always() }}
|
# # Use always() to always run this step to publish test results when there are test failures
|
||||||
|
# if: ${{ always() }}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-ui]
|
needs: [ build-ui ]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -134,3 +135,20 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
./src/Ombi/${{ matrix.os }}.${{ matrix.format }}
|
./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