|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|