ci: 🏗️

This commit is contained in:
tidusjar 2021-09-29 14:54:52 +01:00
commit 504e98bccf

View file

@ -102,6 +102,7 @@ jobs:
# This is only to get the next version number so we can set the version before compile
- name: Conventional Changelog Action
id: pre-build-changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
@ -112,13 +113,13 @@ jobs:
- name: Output version
run: |
echo "outputs: ${{ steps.changelog.outputs }}"
echo "Version: ${{ steps.changelog.outputs.version }}"
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
- name: Set Backend Version
run: |
dotnet tool install -g dotnet-setversion
setversion -r ${{ steps.changelog.outputs.version }}
setversion -r ${{ steps.pre-build-changelog.outputs.version }}
working-directory: src/Ombi
- name: Publish Backend ${{ matrix.os }}