mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-14 00:43:50 +00:00
Pass env vars as output
This commit is contained in:
parent
90a1854848
commit
853c4287d2
17
.github/workflows/openmw.yml
vendored
17
.github/workflows/openmw.yml
vendored
@ -89,7 +89,20 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
make -j $(sysctl -n hw.logicalcpu) package
|
make -j $(sysctl -n hw.logicalcpu) package
|
||||||
|
|
||||||
|
# This is a fairly silly job to work around `env` not being available in `with`
|
||||||
|
Output-Envs:
|
||||||
|
name: Pass environment variables along
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
VCPKG_DEPS_TAG: ${{ env.VCPKG_DEPS_TAG }}
|
||||||
|
BUILD_TYPE: ${{ env.BUILD_TYPE }}
|
||||||
|
steps:
|
||||||
|
- run: echo "Doing nothing"
|
||||||
|
|
||||||
Windows:
|
Windows:
|
||||||
|
needs:
|
||||||
|
- Output-Envs
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
@ -100,5 +113,5 @@ jobs:
|
|||||||
uses: ./.github/workflows/windows.yml
|
uses: ./.github/workflows/windows.yml
|
||||||
with:
|
with:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
vcpkg-deps-tag: ${{ env.VCPKG_DEPS_TAG }}
|
vcpkg-deps-tag: ${{ needs.Output-Envs.outputs.VCPKG_DEPS_TAG }}
|
||||||
build-type: ${{ env.BUILD_TYPE }}
|
build-type: ${{ needs.Output-Envs.outputs.BUILD_TYPE }}
|
||||||
|
Loading…
Reference in New Issue
Block a user