From a3167049945ec2f547a44678938600a5915c8535 Mon Sep 17 00:00:00 2001 From: lakshanss Date: Thu, 17 Feb 2022 11:50:03 +0530 Subject: [PATCH] Use SLBeta6 docker image in workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/daily-build.yml | 36 ------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 .github/workflows/daily-build.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 833623baa..e7c26127c 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:swan-lake-beta6 options: --user root steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml deleted file mode 100644 index b7f9c8f81..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@v1 - - 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\" - } - }"