1
0
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:
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: 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 }}