Skip to content

Commit

Permalink
Add release workflow (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
fustom authored Sep 12, 2023
1 parent 9e3b4e5 commit 2a48353
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Release

on:
release:
types: [published]

jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.0.0
- name: Zip Release
uses: TheDoctor0/zip-release@0.7.1
with:
filename: ariston-remotethermo-home-assistant-v3.zip
path: custom_components/ariston
- name: Upload to Release Action
uses: Shopify/upload-to-release@v1.0.1
with:
name: ariston-remotethermo-home-assistant-v3.zip
path: .
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2a48353

Please sign in to comment.