Skip to content

Add Github workflow to the Redis DB bal persist client #3

Add Github workflow to the Redis DB bal persist client

Add Github workflow to the Redis DB bal persist client #3

name: GraalVM Check

Check failure on line 1 in .github/workflows/build-with-bal-test-graalvm.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-with-bal-test-graalvm.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: call_stdlib_workflow
on:
workflow_dispatch:
inputs:
lang_tag:
description: Branch/Release Tag of the Ballerina Lang
required: true
default: master
lang_version:
description: Ballerina Lang Version (If given ballerina lang buid will be skipped)
required: false
default: ''
native_image_options:
description: Default native-image options
required: false
default: ''
schedule:
- cron: '30 18 * * *'
pull_request:
branches:
- main
types: [ opened, synchronize, reopened, labeled, unlabeled ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
call_stdlib_workflow:
name: Run StdLib Workflow
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
uses: ballerina-platform/ballerina-standard-library/.github/workflows/build-with-bal-test-graalvm-template.yml@main
with:
lang_tag: ${{ inputs.lang_tag }}
lang_version: ${{ inputs.lang_version }}
native_image_options: '-J-Xmx7G ${{ inputs.native_image_options }}'
additional_windows_build_flags: '-x test'
steps:
- name: Give execute permission to gradlew
run: chmod +x ./gradlew