diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2de942..976d4e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,14 @@ name: Build on: - - workflow_dispatch - - workflow_call + workflow_dispatch: + workflow_call: + outputs: + pv: + description: The $PV value from the cygport file + value: ${{ jobs.build-test.outputs.pv }} + cache-found: + description: Whether an existing build cache was found and used + value: ${{ jobs.build-test.outputs.cache-found }} jobs: build-test: uses: cygporter/workflows/.github/workflows/build-test.yml@v1 diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 15f0df3..5289d94 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -1,4 +1,5 @@ name: Prepare release + on: workflow_dispatch: inputs: @@ -12,6 +13,7 @@ on: required: false default: false type: boolean + workflow_call: inputs: release_tag: @@ -24,8 +26,14 @@ on: required: false default: false type: boolean + outputs: + release_tag: + description: Name of the release tag + value: ${{ jobs.prep-release.outputs.tag }} + permissions: contents: write + jobs: prep-release: uses: cygporter/workflows/.github/workflows/prep-release.yml@v1