Skip to content

Commit

Permalink
Add step to move generated files to output directory in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Oct 28, 2024
1 parent 3d0e230 commit 351877c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
release-summary: "Check the release notes for more information."
release-url: ${{ inputs.release-url || env.RELEASE_URL }}
cache: true
- name: 🚚 Move generated files to output
run: |
mkdir -p output/${{ matrix.file }}
mv ${{ steps.esphome-build.outputs.name }}/* output/${{ matrix.file }}
echo ${{ steps.esphome-build.outputs.version }} > output/${{ matrix.file }}/version
echo ${{ steps.esphome-build.outputs.project-version }} > output/${{ matrix.file }}/project-version
- name: ⬆️ Upload firmware / device artifact
uses: actions/upload-artifact@v4.4.3
with:
Expand Down

0 comments on commit 351877c

Please sign in to comment.