From e4a25d3df60cdf6c0d94beff37859ceddcc35f86 Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Thu, 12 Sep 2024 18:12:47 +0530 Subject: [PATCH] Update the artifact action version to v4 --- .github/workflows/daily-build-2201.10.x.yml | 34 +++++++++---------- .github/workflows/daily-build-2201.3.x.yml | 28 +++++++-------- .github/workflows/daily-build-2201.4.x.yml | 28 +++++++-------- .github/workflows/daily-build-2201.5.x.yml | 34 +++++++++---------- .github/workflows/daily-build-2201.6.x.yml | 34 +++++++++---------- .github/workflows/daily-build-2201.7.x.yml | 34 +++++++++---------- .github/workflows/daily-build-2201.8.x.yml | 34 +++++++++---------- .github/workflows/daily-build-2201.9.x.yml | 34 +++++++++---------- .github/workflows/daily-build-editor.yml | 12 +++---- .github/workflows/daily-build.yml | 34 +++++++++---------- .../language_server_simulator_fhir.yml | 4 +-- .../language_server_simulator_nballerina.yml | 4 +-- .github/workflows/main.yml | 10 +++--- .../publish-release-artifacts-1.2.x.yml | 2 +- .../workflows/publish-release-artifacts.yml | 2 +- 15 files changed, 164 insertions(+), 164 deletions(-) diff --git a/.github/workflows/daily-build-2201.10.x.yml b/.github/workflows/daily-build-2201.10.x.yml index d9152ce889..b463c2c438 100644 --- a/.github/workflows/daily-build-2201.10.x.yml +++ b/.github/workflows/daily-build-2201.10.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -428,12 +428,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.3.x.yml b/.github/workflows/daily-build-2201.3.x.yml index 3a89def584..eeacbae3f6 100644 --- a/.github/workflows/daily-build-2201.3.x.yml +++ b/.github/workflows/daily-build-2201.3.x.yml @@ -62,52 +62,52 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -324,12 +324,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -379,12 +379,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.4.x.yml b/.github/workflows/daily-build-2201.4.x.yml index 454ee27c16..9b40aca7b4 100644 --- a/.github/workflows/daily-build-2201.4.x.yml +++ b/.github/workflows/daily-build-2201.4.x.yml @@ -62,52 +62,52 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -325,12 +325,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.5.x.yml b/.github/workflows/daily-build-2201.5.x.yml index 9c786cd7df..b3cae7b4e7 100644 --- a/.github/workflows/daily-build-2201.5.x.yml +++ b/.github/workflows/daily-build-2201.5.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -422,12 +422,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.6.x.yml b/.github/workflows/daily-build-2201.6.x.yml index 69a0d751e9..c748aedc7c 100644 --- a/.github/workflows/daily-build-2201.6.x.yml +++ b/.github/workflows/daily-build-2201.6.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -428,12 +428,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.7.x.yml b/.github/workflows/daily-build-2201.7.x.yml index f66c3474df..9ce1a2fb0b 100644 --- a/.github/workflows/daily-build-2201.7.x.yml +++ b/.github/workflows/daily-build-2201.7.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -428,12 +428,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.8.x.yml b/.github/workflows/daily-build-2201.8.x.yml index cfda4ce2b2..694f0a0493 100644 --- a/.github/workflows/daily-build-2201.8.x.yml +++ b/.github/workflows/daily-build-2201.8.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -428,12 +428,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-2201.9.x.yml b/.github/workflows/daily-build-2201.9.x.yml index 70fff39ea0..9c96b55bd6 100644 --- a/.github/workflows/daily-build-2201.9.x.yml +++ b/.github/workflows/daily-build-2201.9.x.yml @@ -62,57 +62,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -330,12 +330,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -380,12 +380,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -428,12 +428,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/daily-build-editor.yml b/.github/workflows/daily-build-editor.yml index 9cd0610fc5..e374eb1184 100644 --- a/.github/workflows/daily-build-editor.yml +++ b/.github/workflows/daily-build-editor.yml @@ -93,32 +93,32 @@ jobs: name: Ballerina ZIP path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina-distribution/ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index 4e7c6b6cc3..a2f2e806dc 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -61,57 +61,57 @@ jobs: openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.version }}.zip openssl dgst -sha256 -out ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux deb - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer deb path: installers/linux-deb/target/ballerina-*-linux-x64.deb - name: Archive Linux rpm - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux Installer rpm path: installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm - name: Archive MacOS Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive MacOS-ARM Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM Installer ZIP path: ballerina/build/distributions/ballerina-*-macos-arm.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip - name: Archive Linux deb Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux deb Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.deb.sha256 - name: Archive Linux rpm Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux rpm Hashes path: ballerina-${{ steps.project-version.outputs.version }}-linux-x64.rpm.sha256 - name: Archive Ballerina Zip Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Zip Hashes path: ballerina-${{ steps.project-version.outputs.version }}.zip.sha256 - name: Archive Ballerina Short Name Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name Hashes path: ballerina-${{ steps.project-version.outputs.sversion }}.zip.sha256 @@ -328,12 +328,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-x64.pkg - name: Archive MacOS pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-x64.pkg.sha256 - name: Archive MacOS pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer pkg path: installers/mac/target/pkg/ballerina-*-macos-x64.pkg @@ -378,12 +378,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg - name: Archive MacOS-ARM pkg Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS-ARM pkg Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-macos-arm-x64.pkg.sha256 - name: Archive MacOS-ARM pkg - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS Installer ARM pkg path: installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg @@ -424,12 +424,12 @@ jobs: run: | openssl dgst -sha256 -out ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 w\target\msi\ballerina-*-windows-x64.msi - name: Archive Windows msi Hashes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows msi Hashes path: ballerina-${{ needs.ubuntu-build.outputs.project-version }}-windows-x64.msi.sha256 - name: Archive Windows msi - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer msi path: w\target\msi\ballerina-*-windows-x64.msi diff --git a/.github/workflows/language_server_simulator_fhir.yml b/.github/workflows/language_server_simulator_fhir.yml index ac7cd8b4d4..2ad7385341 100644 --- a/.github/workflows/language_server_simulator_fhir.yml +++ b/.github/workflows/language_server_simulator_fhir.yml @@ -53,14 +53,14 @@ jobs: ./mat/ParseHeapDump.sh ./dump.hprof org.eclipse.mat.api:suspects - name: Upload Heap Dumps - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: heap_dump-${{ matrix.branch }}.hprof path: '*.hprof' - name: Upload Leaks Suspects - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: Leak_Suspects-${{ matrix.branch }} diff --git a/.github/workflows/language_server_simulator_nballerina.yml b/.github/workflows/language_server_simulator_nballerina.yml index f47be491ab..4291cded23 100644 --- a/.github/workflows/language_server_simulator_nballerina.yml +++ b/.github/workflows/language_server_simulator_nballerina.yml @@ -53,14 +53,14 @@ jobs: ./mat/ParseHeapDump.sh ./dump.hprof org.eclipse.mat.api:suspects - name: Upload Heap Dumps - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: heap_dump-${{ matrix.branch }}.hprof path: '*.hprof' - name: Upload Leaks Suspects - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: Leak_Suspects-${{ matrix.branch }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1c55316533..3b0d2d73c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,27 +51,27 @@ jobs: githubAccessToken: ${{ secrets.GITHUB_TOKEN }} run: ./gradlew clean build --stacktrace --scan --console=plain --no-daemon --continue -x test - name: Archive Ballerina ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina ZIP path: ballerina/build/distributions/ballerina-*-swan-lake.zip - name: Archive Ballerina Short Name ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Ballerina Short Name ZIP path: ballerina/build/distributions/ballerina-${{ steps.project-version.outputs.sversion }}.zip - name: Archive Linux installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Linux installer ZIP path: ballerina/build/distributions/ballerina-*-linux.zip - name: Archive MacOS installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: MacOS installer ZIP path: ballerina/build/distributions/ballerina-*-macos.zip - name: Archive Windows Installer ZIP - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Windows Installer ZIP path: ballerina/build/distributions/ballerina-*-windows.zip diff --git a/.github/workflows/publish-release-artifacts-1.2.x.yml b/.github/workflows/publish-release-artifacts-1.2.x.yml index 86bd16adf2..f04123ed48 100644 --- a/.github/workflows/publish-release-artifacts-1.2.x.yml +++ b/.github/workflows/publish-release-artifacts-1.2.x.yml @@ -88,7 +88,7 @@ jobs: echo } >> $fileName - name: Archive metadata json - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Metadata JSON path: ${{ steps.set-version.outputs.version }}/metadata.json diff --git a/.github/workflows/publish-release-artifacts.yml b/.github/workflows/publish-release-artifacts.yml index 701a95855d..622763ac5f 100644 --- a/.github/workflows/publish-release-artifacts.yml +++ b/.github/workflows/publish-release-artifacts.yml @@ -106,7 +106,7 @@ jobs: echo "}" >> $fileName - name: Archive metadata json - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Metadata JSON path: ${{ steps.set-version.outputs.version }}/metadata.json