mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 22:50:44 +00:00
Make releases nicer to work with
This commit is contained in:
parent
52ce92df7e
commit
543973b7f9
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@ -1,20 +1,17 @@
|
|||||||
name: Releases
|
name: Release uploader
|
||||||
|
|
||||||
on:
|
on: release
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
upload_release:
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: Pull source
|
||||||
- name: Package up a release
|
uses: actions/checkout@v1
|
||||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
- name: Package up a release
|
||||||
- uses: ncipollo/release-action@v1
|
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||||
with:
|
- uses: ncipollo/release-action@v1
|
||||||
artifact: ../badnest.zip
|
with:
|
||||||
artifactContentType: application/zip
|
artifact: ../badnest.zip
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
artifactContentType: application/zip
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user