Skip to content

Commit

Permalink
Merge pull request #4 from idreamshen/optimize
Browse files Browse the repository at this point in the history
Optimize
  • Loading branch information
idreamshen authored Dec 9, 2024
2 parents 45637ba + 121bef5 commit 7010123
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
yaml-file: "example/${{ matrix.config_name }}.yaml"
version: 2024.11.3
platform: linux/amd64
- name: Keep Bin
run: |
find ${{ steps.esphome-build.outputs.name }} -type f ! -name "*.bin" -exec rm -f {} +
- name: Upload file to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.esphome-build.outputs.name }}/*bin
file: ${{ steps.esphome-build.outputs.name }}
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 7010123

Please sign in to comment.