Skip to content

Commit 7b991c2

Browse files
authored
Create create_release_tag.py
1 parent 666f1d4 commit 7b991c2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Auto Release Tag
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'src/index.json'
9+
10+
jobs:
11+
create-release:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 2
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.x'
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install requests
28+
29+
- name: Create Release Tag
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
run: |
33+
python ./create_release_tag.py

0 commit comments

Comments
 (0)