mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
ci: 🏗️
This commit is contained in:
parent
8344e30c1f
commit
504e98bccf
1 changed files with 4 additions and 3 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -102,6 +102,7 @@ jobs:
|
||||||
|
|
||||||
# This is only to get the next version number so we can set the version before compile
|
# This is only to get the next version number so we can set the version before compile
|
||||||
- name: Conventional Changelog Action
|
- name: Conventional Changelog Action
|
||||||
|
id: pre-build-changelog
|
||||||
uses: TriPSs/conventional-changelog-action@v3
|
uses: TriPSs/conventional-changelog-action@v3
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.github_token }}
|
github-token: ${{ secrets.github_token }}
|
||||||
|
@ -112,13 +113,13 @@ jobs:
|
||||||
|
|
||||||
- name: Output version
|
- name: Output version
|
||||||
run: |
|
run: |
|
||||||
echo "outputs: ${{ steps.changelog.outputs }}"
|
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
|
||||||
echo "Version: ${{ steps.changelog.outputs.version }}"
|
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
|
||||||
|
|
||||||
- name: Set Backend Version
|
- name: Set Backend Version
|
||||||
run: |
|
run: |
|
||||||
dotnet tool install -g dotnet-setversion
|
dotnet tool install -g dotnet-setversion
|
||||||
setversion -r ${{ steps.changelog.outputs.version }}
|
setversion -r ${{ steps.pre-build-changelog.outputs.version }}
|
||||||
working-directory: src/Ombi
|
working-directory: src/Ombi
|
||||||
|
|
||||||
- name: Publish Backend ${{ matrix.os }}
|
- name: Publish Backend ${{ matrix.os }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue