Skip to content

Release

Release #2

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release-zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ZIP Component Dir
run: |
cd ${{ github.workspace }}/custom_components/volvooncall_cn
zip -r volvooncall_cn.zip ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/custom_components/volvooncall_cn/volvooncall_cn.zip
asset_name: volvooncall_cn.zip
tag: ${{ github.ref }}
overwrite: true