mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
ci: 🏗️
This commit is contained in:
parent
504e98bccf
commit
4d5cb3e1d3
1 changed files with 22 additions and 0 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -65,6 +65,27 @@ jobs:
|
||||||
# # Use always() to always run this step to publish test results when there are test failures
|
# # Use always() to always run this step to publish test results when there are test failures
|
||||||
# if: ${{ always() }}
|
# if: ${{ always() }}
|
||||||
|
|
||||||
|
versioning:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
# 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 }}
|
||||||
|
skip-version-file: 'true'
|
||||||
|
skip-commit: 'true'
|
||||||
|
version-file: 'version.json'
|
||||||
|
output-file: 'false'
|
||||||
|
|
||||||
|
- name: Output version
|
||||||
|
run: |
|
||||||
|
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
|
||||||
|
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
|
||||||
|
echo "Version: ${{ steps.pre-build-changelog.outputs.tag }}"
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ build-ui ]
|
needs: [ build-ui ]
|
||||||
|
@ -115,6 +136,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
|
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
|
||||||
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
|
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
|
||||||
|
echo "Version: ${{ steps.pre-build-changelog.outputs.tag }}"
|
||||||
|
|
||||||
- name: Set Backend Version
|
- name: Set Backend Version
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue