Skip to content

Commit

Permalink
download all artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-silabs committed Jan 21, 2025
1 parent 9ea9af4 commit 507a03a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/generate-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,12 @@ jobs:
with:
name: ${{ inputs.appType }}_${{ inputs.board }}_${{ inputs.technology }}_${{ inputs.app }}
path: sqa_artifact
- name: Set Output Variables
run: |
echo "artifact_name=${{ inputs.appType }}_${{ inputs.board }}_${{ inputs.technology }}_${{ inputs.app }}" >> $GITHUB_OUTPUT
# - name: Set Output Variables
# run: |
# echo "::set-output name=artifact_name::${{ inputs.appType }}_${{ inputs.board }}_${{ inputs.technology }}_${{ inputs.app }}"
# - name: Set Output Variables
# run: |
# echo "artifact_name=${{ inputs.appType }}_${{ inputs.board }}_${{ inputs.technology }}_${{ inputs.app }}" >> $GITHUB_OUTPUT
- name: Upload Artifactory
if: ${{ inputs.workflowName != 'SQA Build' }}
uses: actions/upload-artifact@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/sqa-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ jobs:

- name: Download artifacts
run: |
for job in lto; do
gh run download -n ${{ needs[job].outputs.artifact_name }} -D sqa-build-binaries
done
gh run download -n * -D sqa-build-binaries
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Debug List Created Directories
Expand Down

0 comments on commit 507a03a

Please sign in to comment.