From 256cd034c0608eb79f2ac9202cb171903ae383fd Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Tue, 29 Oct 2024 11:05:42 +0530 Subject: [PATCH] update the github workflows --- .github/workflows/build-timestamped-master.yml | 8 ++++---- .github/workflows/publish-release.yml | 4 ++-- .github/workflows/publish-snapshot-nexus.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-timestamped-master.yml b/.github/workflows/build-timestamped-master.yml index ae7e73a..82fa97d 100644 --- a/.github/workflows/build-timestamped-master.yml +++ b/.github/workflows/build-timestamped-master.yml @@ -16,9 +16,9 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'ballerina-platform' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17.0.7 @@ -44,9 +44,9 @@ jobs: run: | ./gradlew clean build publishAllPublicationsToGitHubPackagesRepository --scan --no-daemon - name: Generate CodeCov Report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ballerina-runtime path: target/ballerina-runtime/ diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ad204e6..054ecc6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'ballerina-platform' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17.0.7 diff --git a/.github/workflows/publish-snapshot-nexus.yml b/.github/workflows/publish-snapshot-nexus.yml index b13aaea..4e2930f 100644 --- a/.github/workflows/publish-snapshot-nexus.yml +++ b/.github/workflows/publish-snapshot-nexus.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'ballerina-platform' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17.0.7