Skip to content

Commit

Permalink
Add package assets workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Oct 6, 2024
1 parent 01651a9 commit 332f905
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/package_assets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Package assets

on:
push:
tags:
- "*"

jobs:
build:
name: Publish binaries
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Zip release assets
run: zip -r thermia.zip custom_components
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: thermia.zip
asset_name: thermia.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 332f905

Please sign in to comment.