mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 18:30:43 +00:00
Merge pull request #6 from USA-RedDragon/nicer-releases
Make releases nicer to work with
This commit is contained in:
commit
25b07f40e4
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@ -1,20 +1,17 @@
|
||||
name: Releases
|
||||
name: Release uploader
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
on: release
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
upload_release:
|
||||
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
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifact: ../badnest.zip
|
||||
artifactContentType: application/zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Pull source
|
||||
uses: actions/checkout@v1
|
||||
- name: Package up a release
|
||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifact: ../badnest.zip
|
||||
artifactContentType: application/zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user