Skip to content

Commit dfd69ac

Browse files
Eneman DonatienEneman Donatien
authored andcommitted
[CI] improve release workflow
1 parent 645d645 commit dfd69ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ jobs:
2424
contents: read
2525
repository-projects: write
2626
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
31+
32+
- name: Configure Git
33+
run: |
34+
git config user.name "$GITHUB_ACTOR"
35+
git config user.email "[email protected]"
36+
2737
- name: Tag branch
2838
env:
2939
VERSION: ${{ github.event.inputs.version }}
@@ -34,6 +44,8 @@ jobs:
3444
release:
3545
name: Make release
3646
runs-on: ubuntu-latest
47+
needs:
48+
- tags
3749
steps:
3850
- name: Checkout code
3951
uses: actions/checkout@v4

0 commit comments

Comments
 (0)