Skip to content

Commit

Permalink
Add dynamic artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronBeneteau committed Dec 2, 2024
1 parent d9c5c42 commit 71401d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/reusable-build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Empty file.
5 changes: 2 additions & 3 deletions .github/workflows/test-self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -97,4 +95,5 @@ jobs:
- name: Verify deployment
run: |
ssh [email protected]
ls build-Demo-Blink-cli-31324e8
ls ${{ needs.build-modified-projects.outputs.artifact_name }}

0 comments on commit 71401d7

Please sign in to comment.