27
27
git push --tags
28
28
29
29
- name : (dry-run) Get CHANGELOG
30
- if : ${{ github.event.inputs.dry_run }}
30
+ if : ${{ github.event.inputs.dry_run == 'true' }}
31
31
id : changelog-dry-run
32
32
uses : requarks/changelog-action@v1.10.2
33
33
with :
@@ -37,19 +37,19 @@ jobs:
37
37
tag : ${{ github.event.inputs.version_tag }}
38
38
39
39
- name : (dry-run) Display CHANGELOG
40
- if : ${{ github.event.inputs.dry_run }}
40
+ if : ${{ github.event.inputs.dry_run == 'true' }}
41
41
run : |
42
42
echo '${{ steps.changelog-dry-run.outputs.changes }}'
43
43
echo '${{ steps.changelog-dry-run.outputs.changes }}' > "$GITHUB_STEP_SUMMARY"
44
44
45
45
- name : (dry-run) Remove temporary version tag
46
- if : ${{ github.event.inputs.dry_run }}
46
+ if : ${{ github.event.inputs.dry_run == 'true' }}
47
47
run : |
48
48
git tag -d ${{ github.event.inputs.version_tag }}
49
49
git push origin --delete ${{ github.event.inputs.version_tag }}
50
50
51
51
- name : Update CHANGELOG
52
- if : ${{ ! github.event.inputs.dry_run }}
52
+ if : ${{ github.event.inputs.dry_run == 'false' }}
53
53
id : changelog
54
54
uses : requarks/changelog-action@v1.10.2
55
55
with :
60
60
changelogFilePath : docs/CHANGELOG.md
61
61
62
62
- name : Commit docs/CHANGELOG.md and update tag
63
- if : ${{ ! github.event.inputs.dry_run }}
63
+ if : ${{ github.event.inputs.dry_run == 'false' }}
64
64
run : |
65
65
git tag -d ${{ github.event.inputs.version_tag }}
66
66
git push origin --delete ${{ github.event.inputs.version_tag }}
71
71
git push --tags
72
72
73
73
- name : Create Release
74
- if : ${{ ! github.event.inputs.dry_run }}
74
+ if : ${{ github.event.inputs.dry_run == 'false' }}
75
75
uses : ncipollo/release-action@v1.14.0
76
76
with :
77
77
allowUpdates : true
@@ -82,13 +82,13 @@ jobs:
82
82
body : ${{ steps.changelog.outputs.changes }}
83
83
84
84
- name : Set up Python
85
- if : ${{ ! github.event.inputs.dry_run }}
85
+ if : ${{ github.event.inputs.dry_run == 'false' }}
86
86
uses : actions/setup-python@v5
87
87
id : setup-python
88
88
with :
89
89
python-version-file : pyproject.toml
90
90
- name : Run mkdocs
91
- if : ${{ ! github.event.inputs.dry_run }}
91
+ if : ${{ github.event.inputs.dry_run == 'false' }}
92
92
run : |
93
93
pip3 install uv
94
94
uv venv
0 commit comments