From e10bbdd297b255d50eb8bf144e0d6cf48f4c81bc Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Tue, 24 Sep 2024 18:01:09 +0530 Subject: [PATCH] build: artifact with this name already exists failure fix (#718) --- .github/workflows/bundles-kit.yml | 2 +- .github/workflows/bundles-linux.yml | 8 +++++++- .github/workflows/bundles-mac.yml | 2 +- .github/workflows/bundles-mac_aarch64.yml | 2 +- .github/workflows/bundles-windows.yml | 2 +- .github/workflows/early-access.yml | 3 +++ .github/workflows/release.yml | 3 +++ 7 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bundles-kit.yml b/.github/workflows/bundles-kit.yml index 5ebf42902..16f0cb9b4 100644 --- a/.github/workflows/bundles-kit.yml +++ b/.github/workflows/bundles-kit.yml @@ -42,5 +42,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: artifacts + name: scenebuilder-kit-${{ inputs.project-version }}.jar path: kit/target/lib/*.jar diff --git a/.github/workflows/bundles-linux.yml b/.github/workflows/bundles-linux.yml index a75ba423f..2c2779f29 100644 --- a/.github/workflows/bundles-linux.yml +++ b/.github/workflows/bundles-linux.yml @@ -101,7 +101,13 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: artifacts + name: SceneBuilder-${{ inputs.project-version }}.deb path: | app/target/install/*.deb + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: SceneBuilder-${{ inputs.project-version }}.rpm + path: | app/target/install/*.rpm diff --git a/.github/workflows/bundles-mac.yml b/.github/workflows/bundles-mac.yml index 9b1926780..eba604c32 100644 --- a/.github/workflows/bundles-mac.yml +++ b/.github/workflows/bundles-mac.yml @@ -114,5 +114,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: artifacts + name: SceneBuilder-${{ inputs.project-version }}-amd64.dmg path: ${{ steps.outputfile.outputs.path }} diff --git a/.github/workflows/bundles-mac_aarch64.yml b/.github/workflows/bundles-mac_aarch64.yml index cf62adac0..c59950aa1 100644 --- a/.github/workflows/bundles-mac_aarch64.yml +++ b/.github/workflows/bundles-mac_aarch64.yml @@ -115,5 +115,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: artifacts + name: SceneBuilder-${{ inputs.project-version }}-aarch64.dmg path: ${{ steps.outputfile.outputs.path }} diff --git a/.github/workflows/bundles-windows.yml b/.github/workflows/bundles-windows.yml index a2100e624..a4009f006 100644 --- a/.github/workflows/bundles-windows.yml +++ b/.github/workflows/bundles-windows.yml @@ -96,5 +96,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: artifacts + name: SceneBuilder-${{ inputs.project-version }}.msi path: app/target/install/*.msi diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index 52966dac1..ef2bcb60b 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -121,6 +121,9 @@ jobs: - name: Download all build artifacts uses: actions/download-artifact@v4 + with: + path: artifacts + merge-multiple: true - name: Set up Java uses: oracle-actions/setup-java@v1.4.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab62b791e..49b800eba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,6 +147,9 @@ jobs: - name: Download all build artifacts uses: actions/download-artifact@v4 + with: + path: artifacts + merge-multiple: true - name: Set Release Version run: |