Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc23fa60cf |
|||
|
69cf32133b |
1 changed files with 4 additions and 1 deletions
|
|
@ -82,9 +82,12 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
# The manifest is rewritten beside the original so its relative
|
# The manifest is rewritten beside the original so its relative
|
||||||
# source paths still resolve. The suite runs inside this build.
|
# source paths still resolve. The suite runs inside this build.
|
||||||
|
env:
|
||||||
|
VERSION: ${{ steps.meta.outputs.version }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
yq ".build-options.env.CRAFTER_BUILD_VERSION = \"${{ steps.meta.outputs.version }}\"" "$MANIFEST" > "$CI_MANIFEST"
|
yq '."build-options".env.CRAFTER_BUILD_VERSION = strenv(VERSION)' "$MANIFEST" > "$CI_MANIFEST"
|
||||||
|
grep -n 'CRAFTER_BUILD_VERSION' "$CI_MANIFEST"
|
||||||
flatpak-builder --force-clean --ccache --disable-rofiles-fuse \
|
flatpak-builder --force-clean --ccache --disable-rofiles-fuse \
|
||||||
--state-dir=/root/.cache/flatpak-builder \
|
--state-dir=/root/.cache/flatpak-builder \
|
||||||
--repo=repo --default-branch="${{ steps.meta.outputs.branch }}" \
|
--repo=repo --default-branch="${{ steps.meta.outputs.branch }}" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue