1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-01-18 22:50:44 +00:00

Update Releases to push when I tag

This commit is contained in:
Jacob McSwain 2019-10-19 18:30:31 -05:00 committed by GitHub
parent 9df59aa445
commit 6978121b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,20 @@
name: Release zip
name: Releases
on: release
on:
push:
tags:
- '*'
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
- uses: ncipollo/release-action@v1
with:
args: ../badnest.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
artifact: ../badnest.zip
artifactContentType: application/zip
token: ${{ secrets.GITHUB_TOKEN }}