CI: set version dynamically
Some checks failed
/ build (push) Failing after 20s

This commit is contained in:
phil 2024-12-06 05:43:54 +01:00
parent ed1a9242c9
commit 6aaf93b098
2 changed files with 11 additions and 2 deletions

View file

@ -53,9 +53,18 @@ jobs:
- name: Update version.json from git describe
run: pnpm run version
- name: Set the version in package.json
env:
VERSION: ${{ steps.version.outputs.version }}
run: sed "s/0.0.0/${VERSION}/" -i package.json
- name: Build package (transpile ts => js)
run: ng build
- name: Publish
if: fromJSON(steps.builder.outputs.run)
run: pnpm publish
- name: Build container
if: fromJSON(steps.builder.outputs.run)
uses: actions/buildah-build@v1