-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (34 loc) · 1.32 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: "Release"
on:
push:
tags:
- "v*.*.*"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Verify the release version"
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: true
PACKAGE_DIR: ${{ github.workspace }}/custom_components/yandexgpt_conversation
PACKAGE_NAME: manifest.json
- name: "Compress"
shell: "bash"
run: |
cd "${{ github.workspace }}/custom_components/yandexgpt_conversation"
zip -r "${{ runner.temp }}/yandexgpt.zip" ./
- name: "Publish"
uses: softprops/action-gh-release@v2
with:
draft: true
files: ${{ runner.temp }}/yandexgpt.zip
body: >
[![Количество скачиваний](https://img.shields.io/github/downloads/black-roland/homeassistant-yandexgpt/v1.0.2/total?style=flat-square)](https://github.com/black-roland/homeassistant-yandexgpt/releases)
[![На кофе](https://img.shields.io/badge/%D0%BD%D0%B0%20%D0%BA%D0%BE%D1%84%D0%B5-cc3336?style=flat-square&logo=coffeescript)](https://mansmarthome.info/donate/#donationalerts)
generate_release_notes: true