Skip to content

Ballerina OpenAPI connectors v2.4.6 released! #41

Ballerina OpenAPI connectors v2.4.6 released!

Ballerina OpenAPI connectors v2.4.6 released! #41

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
container:
runs-on: ubuntu-latest
container:
image: ballerina/ballerina:2201.4.1
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 <noreply@github.com>
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 }}"