@@ -34,16 +34,13 @@ jobs:
34
34
outputs :
35
35
is-release : ${{ startsWith(github.ref_name, 'release') }}
36
36
is-preview : ${{ startsWith(github.ref_name, 'preview') }}
37
- notes-start-tag : ${{ steps.github.outputs.notes-start-tag }}
38
37
39
38
steps :
40
39
- name : ' Set workflow variables'
41
40
id : github
42
41
run : |
43
42
echo "is-release:${{ startsWith(github.ref_name, 'release') }}"
44
43
echo "is-preview:${{ startsWith(github.ref_name, 'preview') }}"
45
- notes-start-tag=$(git describe --abbrev=0 --tags)
46
- echo "notes-start-tag=$notes-start-tag" >> $GITHUB_OUTPUT
47
44
48
45
validate-release :
49
46
name : ' Validate release'
@@ -246,10 +243,17 @@ jobs:
246
243
steps :
247
244
- name : ' Checkout ${{ github.head_ref || github.ref }}'
248
245
uses : actions/checkout@v5
246
+
247
+ - name : ' Determine notes start tag'
248
+ id : determine-notes-start-tag
249
+ run : |
250
+ notes-start-tag=$(git describe --abbrev=0 --tags)
251
+ echo "notes-start-tag=$notes-start-tag" >> $GITHUB_OUTPUT
252
+ shell : bash
249
253
250
254
- name : ' Create GitHub Release'
251
255
uses : ./.github/actions/github/create-release
252
256
with :
253
257
release-version : ${{ env.release-version }}
254
258
is-preview : ${{ env.is-preview }}
255
- notes-start-tag : ${{ env .notes-start-tag }}
259
+ notes-start-tag : ${{ steps.determine-notes-start-tag.outputs .notes-start-tag }}
0 commit comments