Skip to content

Commit 3d617a4

Browse files
committed
fix: restructure changelog job to include steps and outputs
1 parent a048455 commit 3d617a4

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/prepare-tag.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,18 @@ jobs:
3939
fi
4040
4141
changelog:
42-
uses: codesnippetspro/.github-private/.github/workflows/changelog.yml@main
42+
runs-on: ubuntu-latest
4343
needs: get-version
44-
secrets: inherit
45-
with:
46-
repo: ${{ github.repository }}
47-
branch: ${{ github.ref_name }}
48-
tag: ${{ needs.get-version.outputs.version }}
44+
outputs:
45+
patch: ${{ steps.changelog.outputs.patch }}
46+
steps:
47+
- name: Create the changelog
48+
id: changelog
49+
uses: codesnippetspro/.github-private/.github/workflows/changelog.yml@main
50+
with:
51+
repo: ${{ github.repository }}
52+
branch: ${{ github.ref_name }}
53+
tag: ${{ needs.get-version.outputs.version }}
4954

5055
git-push:
5156
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)