ci: 🏗️

pull/4329/head
tidusjar 3 years ago
parent 504e98bccf
commit 4d5cb3e1d3

@ -65,6 +65,27 @@ jobs:
# # Use always() to always run this step to publish test results when there are test failures
# 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:
runs-on: ubuntu-latest
needs: [ build-ui ]
@ -115,6 +136,7 @@ jobs:
run: |
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
echo "Version: ${{ steps.pre-build-changelog.outputs.tag }}"
- name: Set Backend Version
run: |

Loading…
Cancel
Save