Skip to content

Commit 5628e9b

Browse files
authored
Merge pull request #266 from PrestaEdit/patch-2
Update release drafter
2 parents 5da0635 + edc2304 commit 5628e9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release-drafter.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ jobs:
2222
- name: Clean-up project
2323
uses: PrestaShopCorp/[email protected]
2424
- name: Create & upload artifact
25-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: ${{ github.event.repository.name }}
28-
path: ../
28+
path: /home/runner/work/${{ github.event.repository.name }}
2929
update_release_draft:
3030
runs-on: ubuntu-latest
3131
needs: [deploy]
3232
if: github.event_name == 'push'
3333
steps:
3434
- name: Download artifact
35-
uses: actions/download-artifact@v1
35+
uses: actions/download-artifact@v3
3636
with:
3737
name: ${{ github.event.repository.name }}
38+
path: ${{ github.event.repository.name }}
3839
- id: release_info
3940
uses: release-drafter/release-drafter@v5
4041
env:
@@ -62,4 +63,4 @@ jobs:
6263
upload_url: ${{ steps.release_info.outputs.upload_url }}
6364
asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip
6465
asset_name: ${{ github.event.repository.name }}.zip
65-
asset_content_type: application/zip
66+
asset_content_type: application/zip

0 commit comments

Comments
 (0)