ci: 👷 Added the release step

pull/4329/head
tidusjar 3 years ago
parent 404b3517e9
commit 5b816fa906

@ -56,13 +56,14 @@ 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
@ -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…
Cancel
Save