Skip to content

Commit 068e58d

Browse files
committed
update version and steps
1 parent 1df40bd commit 068e58d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
validate:
13+
name: Validate code accuracy
1314
runs-on: ubuntu-latest
1415
steps:
1516
- uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.9
22+
python-version: 3.12
2323
- name: Install poetry
2424
run: |
2525
pip install --upgrade poetry
@@ -32,7 +32,12 @@ jobs:
3232
git config --local user.email "${{ secrets.GIT_USER_EMAIL }}"
3333
git config --local user.name "${{ secrets.GIT_USER_NAME }}"
3434
git commit -am "chore: Update version"
35-
git push
35+
36+
- name: Push changes
37+
uses: ad-m/github-push-action@master
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
branch: ${{ github.ref }}
3641

3742
build:
3843
needs: [version]
@@ -50,7 +55,7 @@ jobs:
5055
- name: Set up Python
5156
uses: actions/setup-python@v5
5257
with:
53-
python-version: 3.9
58+
python-version: 3.12
5459
- name: Install flit
5560
run: |
5661
pip install flit

0 commit comments

Comments
 (0)