From 17b155c1c76eb1b5d4b6603767abeb62d4cb117d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20D=C3=A9siles?= <1536672+jokesterfr@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:35:51 +0100 Subject: [PATCH] Fix artifacts builds --- .github/workflows/build-release-publish.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-release-publish.yml b/.github/workflows/build-release-publish.yml index 4f4e8210b..2986c7776 100644 --- a/.github/workflows/build-release-publish.yml +++ b/.github/workflows/build-release-publish.yml @@ -21,10 +21,11 @@ jobs: VERSION: ${{ github.event.release.tag_name }} - name: Create & upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }} path: ./ + overwrite: true upload_release_asset_production: name: Upload the production zip asset to the release @@ -32,14 +33,13 @@ jobs: needs: [build] steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ github.event.repository.name }} + path: ./ - name: Bundle the production zip - run: | - cd ${{ github.event.repository.name }} - make zip-prod + run: make zip-prod env: CONFIG_FILE: ${{ secrets.PS_EVENTBUS_PRODUCTION_CONFIG }} VERSION: ${{ github.event.release.tag_name }} @@ -60,14 +60,13 @@ jobs: needs: [build] steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ github.event.repository.name }} + path: ./ - name: Bundle the integration zip - run: | - cd ${{ github.event.repository.name }} - make zip-inte + run: make zip-inte - name: Publish the integration zip uses: actions/upload-release-asset@v1