Skip to content

Commit

Permalink
setting the correct artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
pljakobs committed Dec 23, 2024
1 parent 5d47bb0 commit ca6e8f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build Container

on:
push:
branches:
- develop
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/build_firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,17 @@ jobs:
echo "path=" >> $GITHUB_OUTPUT
fi
- name: Set artifact name
id: set_artifact_name
run: |
if [ "${{ matrix.release }}" = "1" ]; then
echo "artifact_name=firmware-${{ matrix.soc }}-release" >> $GITHUB_ENV
else
echo "artifact_name=firmware-${{ matrix.soc }}-debug" >> $GITHUB_ENV
fi
- name: Upload firmware artifact
uses: actions/upload-artifact@v3
with:
name: firmware-${{ matrix.soc }}-release-${{ matrix.release }}
name: ${{ steps.set_artifact_name.outputs.artifact_name }}
path: ${{ steps.set_firmware_path.outputs.path }}

0 comments on commit ca6e8f7

Please sign in to comment.