From 088e667679b3e4fdf451ff9b6b1975069d29b22a Mon Sep 17 00:00:00 2001 From: OCH <18335360+omarcostahamido@users.noreply.github.com> Date: Mon, 19 May 2025 23:04:07 +0100 Subject: [PATCH 1/2] Update main.yml - update `actions/upload-artifact` to v4 to avoid deprecation error - update `actions/checkout` to v4 to take advantage of the speedup --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 855dee64..5ff341b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: config: [release] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: '0' @@ -97,7 +97,7 @@ jobs: if exist support cp -r support %PACKAGE_NAME% if exist tests cp -r tests %PACKAGE_NAME% - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }}-${{ steps.short-sha.outputs.sha }}-${{ matrix.config }} path: ${{ github.event.repository.name }} @@ -107,7 +107,7 @@ jobs: needs: package steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: '0' @@ -132,7 +132,7 @@ jobs: - name: zip run: zip -r ${{ github.event.repository.name }}-package-for-max-${{ steps.get_version.outputs.version }}.zip ${{ github.event.repository.name }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }}-${{ steps.get_version.outputs.version }}-zipped-release path: ${{ github.event.repository.name }}-package-for-max-${{ steps.get_version.outputs.version }}.zip From 8f72ffd5d2959300538a4ddb32bd917de710d02b Mon Sep 17 00:00:00 2001 From: OCH <18335360+omarcostahamido@users.noreply.github.com> Date: Mon, 19 May 2025 23:28:35 +0100 Subject: [PATCH 2/2] Update main.yml - give each artifact a unique name --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ff341b0..b88262ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -99,7 +99,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: ${{ github.event.repository.name }}-${{ steps.short-sha.outputs.sha }}-${{ matrix.config }} + name: ${{ github.event.repository.name }}-${{ steps.short-sha.outputs.sha }}-${{ matrix.config }}-${{ matrix.os }} path: ${{ github.event.repository.name }} release: