Skip to content

Commit

Permalink
Merge pull request #2753 from Nuvindu/action-version
Browse files Browse the repository at this point in the history
Update the deprecated artifact action version to v4
  • Loading branch information
Nuvindu authored Sep 12, 2024
2 parents 7dc9fa6 + 9501d40 commit c3d767b
Show file tree
Hide file tree
Showing 12 changed files with 115 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: ./gradlew codeCoverageReport --stacktrace -scan --console=plain --no-daemon

- name: Archive Code Coverage Zip
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: CoverageReport
path: coverage-reports/build/reports/jacoco/codeCoverageReport
22 changes: 11 additions & 11 deletions .github/workflows/daily-full-build-2201.10.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
echo "::set-output name=version::$VERSION"
echo "::set-output name=specVersion::$SPEC_VERSION"
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -192,27 +192,27 @@ jobs:
echo "::set-output name=version::$RELEASE_VERSION"
echo "::set-output name=sVersion::$SHORT_VERSION"
- name: Archive Ballerina ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
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-22*.zip
- 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
Expand All @@ -225,12 +225,12 @@ jobs:
working-directory: ballerina-distribution/installers/linux-rpm
run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions
- 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
Expand Down Expand Up @@ -342,7 +342,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
cd w
.\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\..\
- 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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/daily-full-build-2201.3.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "::set-output name=version::$VERSION"
echo "::set-output name=specVersion::$SPEC_VERSION"
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -182,22 +182,22 @@ jobs:
echo "::set-output name=version::$RELEASE_VERSION"
echo "::set-output name=sVersion::$SHORT_VERSION"
- name: Archive Ballerina ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
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-22*.zip
- 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 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
Expand All @@ -210,12 +210,12 @@ jobs:
working-directory: ballerina-distribution/installers/linux-rpm
run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions
- 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
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
cd w
.\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\..\
- 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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/daily-full-build-2201.4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "::set-output name=version::$VERSION"
echo "::set-output name=specVersion::$SPEC_VERSION"
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -182,22 +182,22 @@ jobs:
echo "::set-output name=version::$RELEASE_VERSION"
echo "::set-output name=sVersion::$SHORT_VERSION"
- name: Archive Ballerina ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
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-22*.zip
- 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 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
Expand All @@ -210,12 +210,12 @@ jobs:
working-directory: ballerina-distribution/installers/linux-rpm
run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions
- 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
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
cd w
.\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\..\
- 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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/daily-full-build-2201.5.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "::set-output name=version::$VERSION"
echo "::set-output name=specVersion::$SPEC_VERSION"
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -182,27 +182,27 @@ jobs:
echo "::set-output name=version::$RELEASE_VERSION"
echo "::set-output name=sVersion::$SHORT_VERSION"
- name: Archive Ballerina ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
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-22*.zip
- 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
Expand All @@ -215,12 +215,12 @@ jobs:
working-directory: ballerina-distribution/installers/linux-rpm
run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions
- 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
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg
Expand Down Expand Up @@ -418,7 +418,7 @@ jobs:
cd w
.\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\..\
- 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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/daily-full-build-2201.6.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
echo "::set-output name=version::$VERSION"
echo "::set-output name=specVersion::$SPEC_VERSION"
- name: Archive Lang Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
Expand Down Expand Up @@ -184,27 +184,27 @@ jobs:
echo "::set-output name=version::$RELEASE_VERSION"
echo "::set-output name=sVersion::$SHORT_VERSION"
- name: Archive Ballerina ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
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-22*.zip
- 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
Expand All @@ -217,12 +217,12 @@ jobs:
working-directory: ballerina-distribution/installers/linux-rpm
run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions
- 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
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg
Expand Down Expand Up @@ -380,7 +380,7 @@ jobs:
working-directory: ballerina-distribution/installers/mac
run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm
- name: Archive MacOS pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: MacOS Installer pkg
path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
cd w
.\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\..\
- 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
Expand Down
Loading

0 comments on commit c3d767b

Please sign in to comment.