mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 23:00:43 +00:00
Update Releases to push when I tag
This commit is contained in:
parent
9df59aa445
commit
6978121b1f
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -1,19 +1,20 @@
|
|||||||
name: Release zip
|
name: Releases
|
||||||
|
|
||||||
on: release
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
|
||||||
|
|
||||||
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Package up a release
|
- name: Package up a release
|
||||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||||
- name: Run a multi-line script
|
- uses: ncipollo/release-action@v1
|
||||||
uses: JasonEtco/upload-to-release@master
|
|
||||||
with:
|
with:
|
||||||
args: ../badnest.zip
|
artifact: ../badnest.zip
|
||||||
env:
|
artifactContentType: application/zip
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user