3.0.7 #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
release_zip_file: | |
name: Prepare release asset | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: ZIP peaqev Dir | |
run: | | |
cd ${{ github.workspace }}/custom_components/peaqev | |
zip peaqev.zip -r ./ | |
- name: Upload zip to release | |
uses: svenstaro/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ${{ github.workspace }}/custom_components/peaqev/peaqev.zip | |
asset_name: peaqev.zip | |
tag: ${{ github.ref }} | |
overwrite: true |