diff --git a/.github/workflows/reusable-build-project.yml b/.github/workflows/reusable-build-project.yml index f40f0f19d..465b63b7f 100644 --- a/.github/workflows/reusable-build-project.yml +++ b/.github/workflows/reusable-build-project.yml @@ -11,6 +11,10 @@ on: description: 'Platform to build for (i.e. cli, stm32f767)' required: true type: string + outputs: + artifact_name: + description: 'The name of the artifact created by the build' + value: ${{ jobs.build-upload-project.outputs.artifact_name }} jobs: build-upload-project: diff --git a/.github/workflows/reusable-deploy-project.yml b/.github/workflows/reusable-deploy-project.yml new file mode 100644 index 000000000..e69de29bb diff --git a/.github/workflows/test-self-hosted.yml b/.github/workflows/test-self-hosted.yml index c6a6c04ff..0d0419ef9 100644 --- a/.github/workflows/test-self-hosted.yml +++ b/.github/workflows/test-self-hosted.yml @@ -67,8 +67,6 @@ jobs: fail-fast: false matrix: include: ${{ fromJson(needs.setup.outputs.matrix_modified_projects) }} - outputs: - artifact_name: ${{ steps.build.outputs.artifact_name }} steps: - name: Checkout repository @@ -97,4 +95,5 @@ jobs: - name: Verify deployment run: | ssh macformula@100.73.87.83 - ls build-Demo-Blink-cli-31324e8 + ls ${{ needs.build-modified-projects.outputs.artifact_name }} +