Skip to content

Commit

Permalink
upload sqa artifact with sqa_build_binaries name and after building, …
Browse files Browse the repository at this point in the history
…download sqa_build_bianries and list content before zip
  • Loading branch information
stefan-silabs committed Jan 17, 2025
1 parent 1ddd81f commit b082458
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ jobs:
FILE_PATH="${{ env.MATTER_EXTN_ROOT }}/${{ inputs.board }}/${{ inputs.app }}-${{ inputs.suffix }}/${{ inputs.app }}-${{ inputs.suffix }}/build/debug/${{ inputs.app }}-${{ inputs.suffix }}.s37"
mv $FILE_PATH ${{ env.FOLDER_PATH }}/
- name: Upload SQA Artifact
- name: Upload SQA Build Artifact
if: ${{ inputs.workflow_name == 'SQA Build' }}
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.addAppComponent }} ${{ inputs.optionalSlcParams }} ${{ inputs.app }}-${{ inputs.suffix }} ${{ inputs.board }}
name: sqa_build_binaries
path: ${{ env.FOLDER_PATH }}/

- name: Upload Artifactory
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/sqa-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Download SQA Build Binaries Folder
uses: actions/download-artifact@v4
with:
name: sqa_build_binaries
path: sqa-build-binaries

- name: List Directory Contents
run: ls -R sqa-build-binaries

- name: Zip Artifacts into SQA Build Binaries
run: zip -r sqa-build-binaries.zip sqa-build-binaries

- name: Upload SQA Build Binaries
uses: actions/upload-artifact@v4
with:
name: sqa-build-binaries
name: sqa_build_binaries_zip
path: sqa-build-binaries.zip

0 comments on commit b082458

Please sign in to comment.