From ef20d639909a6ba70c0bcd24de8f0cf13f8b0e9c Mon Sep 17 00:00:00 2001 From: lakshanss Date: Wed, 11 Aug 2021 13:26:35 +0530 Subject: [PATCH] Bump versions for slbeta2 release --- .github/workflows/ci.yml | 2 +- .github/workflows/daily-build.yml | 58 ------------------------------ .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 4 +-- gradle.properties | 2 +- outlookmail/Ballerina.toml | 2 +- outlookmail/Dependencies.toml | 19 ++++++++++ 7 files changed, 25 insertions(+), 64 deletions(-) delete mode 100644 .github/workflows/daily-build.yml create mode 100644 outlookmail/Dependencies.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d4195b..cbd7302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@nightly + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c ./outlookmail diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml deleted file mode 100644 index 497e50c..0000000 --- a/.github/workflows/daily-build.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Daily build - -# Controls when the action will run. -on: - schedule: - - cron: '30 2 * * *' - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Set up Java Environment - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - # Grant execute permission to the gradlew script - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - # Build the project with Gradle - - name: Build with Gradle - env: - packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }} - packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }} - JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true - run: | - ./gradlew build - # Build the ballerina project - - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@nightly - with: - args: - build -c ./outlookmail - env: - JAVA_HOME: /usr/lib/jvm/default-jvm - REFRESH_URL: ${{ secrets.REFRESH_URL }} - REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} - CLIENT_ID: ${{ secrets.CLIENT_ID }} - CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} - # Publish Github Package - - name: Publish Github Package - env: - publishUser: ${{ secrets.BALLERINA_BOT_USERNAME }} - publishPAT: ${{ secrets.CONNECTOR_PUBLISH_PAT }} - JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true - run: | - ./gradlew publish - \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2409e63..ea8ab50 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@nightly + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c ./outlookmail diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19828be..2ec9961 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@master + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c ./outlookmail @@ -22,7 +22,7 @@ jobs: CLIENT_ID: ${{ secrets.CLIENT_ID }} CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} - name: Ballerina Push - uses: ballerina-platform/ballerina-action/@master + uses: ballerina-platform/ballerina-action@slbeta2 with: args: push diff --git a/gradle.properties b/gradle.properties index 21cf54c..f6d764e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.caching=true group=org.ballerinalang.microsoft.outlook.mail -version=0.1.1-SNAPSHOT +version=1.0.1 ballerinaLangVersion=2.0.0-beta.2.1 diff --git a/outlookmail/Ballerina.toml b/outlookmail/Ballerina.toml index 107ce11..2d5b4ed 100644 --- a/outlookmail/Ballerina.toml +++ b/outlookmail/Ballerina.toml @@ -1,7 +1,7 @@ [package] org= "ballerinax" name= "microsoft.outlook.mail" -version= "0.1.1-SNAPSHOT" +version= "1.0.1" authors = ["Ballerina"] keywords = ["Microsoft", "Outlook", "Mail"] repository = "https://github.com/ballerina-platform/module-ballerinax-microsoft.outlook.mail" diff --git a/outlookmail/Dependencies.toml b/outlookmail/Dependencies.toml new file mode 100644 index 0000000..6df04dd --- /dev/null +++ b/outlookmail/Dependencies.toml @@ -0,0 +1,19 @@ +[[dependency]] +org = "ballerina" +name = "io" +version = "0.6.0-beta.2" + +[[dependency]] +org = "ballerina" +name = "log" +version = "1.1.0-beta.2" + +[[dependency]] +org = "ballerina" +name = "http" +version = "1.1.0-beta.2" + +[[dependency]] +org = "ballerina" +name = "os" +version = "0.8.0-beta.2"