Skip to content

Commit 00d64d1

Browse files
committed
fix: support artifact upload
1 parent 413e94a commit 00d64d1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

action.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ runs:
2626
uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
29-
- name: Download package
30-
uses: actions/download-artifact@v4
31-
with:
32-
name: ${{ inputs.artifact-name }}
33-
path: ${{ github.workspace }}/artifact
34-
- name: Create tag
35-
shell: bash
36-
run: |
29+
- name: Create tag
30+
shell: bash
31+
run: |
3732
git config user.name "${{ github.actor }}"
3833
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
3934
git tag -fa ${{ inputs.version }} -m "Release ${{ inputs.version }}"
4035
git push --force origin ${{ inputs.version }}
41-
- uses: jcdcdev/jcdcdev.Github.GenerateChangelog@main
42-
id: changelog
36+
- uses: jcdcdev/jcdcdev.Github.GenerateChangelog@main
37+
id: changelog
38+
with:
39+
version: ${{ inputs.version }}
40+
github-token: ${{ inputs.github-token }}
41+
- name: Download package
42+
uses: actions/download-artifact@v4
4343
with:
44-
version: ${{ inputs.version }}
45-
github-token: ${{ inputs.github-token }}
44+
name: ${{ inputs.artifact-name }}
45+
path: ${{ github.workspace }}/artifact
4646
- name: Create Release
4747
uses: ncipollo/release-action@v1
4848
with:

0 commit comments

Comments
 (0)