mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-04-15 08:00:03 +01:00
Add Github Action for Release
This commit is contained in:
parent
d43890140f
commit
9df59aa445
19
.github/workflows/release.yml
vendored
Normal file
19
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Release zip
|
||||||
|
|
||||||
|
on: release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Package up a release
|
||||||
|
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||||
|
- name: Run a multi-line script
|
||||||
|
uses: JasonEtco/upload-to-release@master
|
||||||
|
with:
|
||||||
|
args: ../badnest.zip
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user