Skip to content

Ballerina OpenAPI connectors v2.5.1 released! #47

Ballerina OpenAPI connectors v2.5.1 released!

Ballerina OpenAPI connectors v2.5.1 released! #47

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
container:
runs-on: ubuntu-latest
container:
image: ballerina/ballerina:2201.8.0
options: --user root
steps:
- name: Install Git
run: apk --no-cache add git
- uses: actions/checkout@v3
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build with Gradle
env:
BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }}
JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
run: |
./gradlew build -Prelease=true -Premote=true
- name: Create Pull Request For Updating Release Files
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.BALLERINA_BOT_TOKEN }}
commit-message: Update file hashes
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: release/hash-update
base: main
title: Update file hashes
body: |
Update file hashes
- openapi.properties
Update Ballerina.toml version of the released connectors
draft: false
- name: PR details
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"