From 409c45cff70c9f5cf54ceb3cecf4e139d7383417 Mon Sep 17 00:00:00 2001 From: lakshanss Date: Tue, 10 Aug 2021 00:05:58 +0530 Subject: [PATCH] Bump versions for slbeta2 release --- .github/workflows/ci.yml | 5 +-- .github/workflows/daily-build.yml | 57 ------------------------------ .github/workflows/pull-request.yml | 4 +-- .github/workflows/release.yml | 7 ++-- gpeople/Ballerina.toml | 2 +- gradle.properties | 4 +-- 6 files changed, 8 insertions(+), 71 deletions(-) delete mode 100644 .github/workflows/daily-build.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbb249a..6502ed3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,13 +4,11 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@nightly + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c @@ -19,4 +17,3 @@ jobs: CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} WORKING_DIR: ./gpeople - diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml deleted file mode 100644 index 12d519c..0000000 --- a/.github/workflows/daily-build.yml +++ /dev/null @@ -1,57 +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 --skip-tests - env: - JAVA_HOME: /usr/lib/jvm/default-jvm - CLIENT_ID: ${{ secrets.CLIENT_ID }} - CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} - REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} - WORKING_DIR: ./gpeople - # 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 39113f9..39eb5f7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,13 +4,11 @@ on: [pull_request] jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@nightly + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 654f88f..674c5a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,13 +6,11 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Ballerina Build - uses: ballerina-platform/ballerina-action/@master + uses: ballerina-platform/ballerina-action@slbeta2 with: args: build -c --skip-tests @@ -22,9 +20,10 @@ jobs: REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} WORKING_DIR: ./gpeople - name: Ballerina Push - uses: ballerina-platform/ballerina-action/@master + uses: ballerina-platform/ballerina-action@slbeta2 with: args: push env: + WORKING_DIR: ./gpeople BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }} diff --git a/gpeople/Ballerina.toml b/gpeople/Ballerina.toml index 44ca442..27e3aac 100644 --- a/gpeople/Ballerina.toml +++ b/gpeople/Ballerina.toml @@ -1,7 +1,7 @@ [package] org= "ballerinax" name= "googleapis.people" -version= "0.1.2-SNAPSHOT" +version= "1.0.1" license= ["Apache-2.0"] authors = ["Ballerina"] keywords = ["google", "people", "contact"] diff --git a/gradle.properties b/gradle.properties index 4b7df88..3e5f6ea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.caching=true group=org.ballerinalang.googleapis.people -version=0.1.2-SNAPSHOT -ballerinaLangVersion=2.0.0-beta.2-20210621-194000-70c97122 +version=1.0.1 +ballerinaLangVersion=2.0.0-beta.2.1