From 9df59aa445e9d0ecac8046670e933123ce964ac3 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Sat, 19 Oct 2019 18:25:41 -0500 Subject: [PATCH] Add Github Action for Release --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..582119d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Release zip + +on: release + +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 + with: + args: ../badnest.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}