From e7a8a8b6b7673b079528295bea3f92e19877d765 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Thu, 16 May 2024 09:48:49 +0200 Subject: [PATCH] added test workflow --- .github/workflows/test-repo-split.yaml | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/test-repo-split.yaml diff --git a/.github/workflows/test-repo-split.yaml b/.github/workflows/test-repo-split.yaml new file mode 100644 index 00000000..5d90b12e --- /dev/null +++ b/.github/workflows/test-repo-split.yaml @@ -0,0 +1,38 @@ +# this workflow is only for testing and will be removed later! + +name: Test Repo Split workflows + +on: + workflow_dispatch: + inputs: + version: + description: Semantic Version string to use for this nightly build + required: false + +env: + INPUT_VERSION: ${{ github.event.inputs.version || inputs.version }} + + +#concurrency: +# group: ${{ github.workflow }}-${{ github.ref }} +# cancel-in-progress: true + +jobs: + Determine-Version: + # this looks to be necessary because some constructs as "with" are not able to get values from env + runs-on: ubuntu-latest + outputs: + VERSION: ${{ steps.get-version.outputs.VERSION }} + steps: + - name: "Extract version" + id: get-version + run: echo "VERSION=${{ env.INPUT_VERSION }}" >> "$GITHUB_OUTPUT" + + publish: + uses: paullatzelsperger/.github-edc/.github/workflows/publish-technology.yaml@main + needs: [Determine-Version] + with: + version: ${{ needs.Determine-Version.outputs.VERSION }} + component_release_workflow_file: "release-tech-aws.yaml" + component_test_workflow_file: "verify.yaml" + secrets: inherit \ No newline at end of file