Skip to content

Commit 87d4a81

Browse files
Ernest RybkaErnest Rybka
authored andcommitted
update ci
1 parent ddf9556 commit 87d4a81

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/releace.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
tags:
4+
- 'v*' # триггер по тегам, например v1.0.0
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Create zip archive
15+
run: |
16+
zip -r grafana-clickhouse-datasource.zip grafana-clickhouse-datasource
17+
18+
- name: Upload Release Asset
19+
uses: softprops/action-gh-release@v1
20+
with:
21+
files: grafana-clickhouse-datasource.zip
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)