diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 79ae43fd..3cd00a4e 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -22,19 +22,20 @@ jobs: - name: Clean-up project uses: PrestaShopCorp/github-action-clean-before-deploy@v1.0 - name: Create & upload artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }} - path: ../ + path: /home/runner/work/${{ github.event.repository.name }} update_release_draft: runs-on: ubuntu-latest needs: [deploy] if: github.event_name == 'push' steps: - name: Download artifact - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: ${{ github.event.repository.name }} + path: ${{ github.event.repository.name }} - id: release_info uses: release-drafter/release-drafter@v5 env: @@ -62,4 +63,4 @@ jobs: upload_url: ${{ steps.release_info.outputs.upload_url }} asset_path: ./${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip