diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2525dd49..c3e7c8a2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: container: runs-on: ubuntu-latest container: - image: ballerina/ballerina:nightly + image: ballerina/ballerina:2201.0.0 options: --user root steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml deleted file mode 100644 index 9884f27ea..000000000 --- a/.github/workflows/daily-build.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Daily build - -# Controls when the action will run. -on: - schedule: - - cron: '30 2 * * *' - -jobs: - dailyBuild: - runs-on: ubuntu-latest - container: - image: ballerina/ballerina:nightly - options: --user root - steps: - - uses: actions/checkout@v2 - - name: Build with Gradle - env: - BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }} - JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true - GRADLE_USER_HOME: ~/.gradle - run: | - ./gradlew build -Prelease=false -Premote=true -PbuildAll=true - # Send notification when build fails - - name: Notify failure - if: ${{ failure() }} - run: | - curl -X POST \ - 'https://api.github.com/repos/ballerina-platform/ballerina-release/dispatches' \ - -H 'Accept: application/vnd.github.v3+json' \ - -H 'Authorization: Bearer ${{ secrets.BALLERINA_BOT_TOKEN }}' \ - --data "{ - \"event_type\": \"notify-build-failure\", - \"client_payload\": { - \"repoName\": \"openapi-connectors\" - } - }" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85da8a5b3..5ab728cbd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: container: runs-on: ubuntu-latest container: - image: ballerina/ballerina:swan-lake-beta6 + image: ballerina/ballerina:2201.0.0 options: --user root steps: - name: Install Git