Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix codecov publishing #184

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/build-dev-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@ name: Build Dev Branches

on:
workflow_dispatch:
inputs:
ballerina_version:
description: 'Ballerina version'
required: true
default: '2201.10.0'
push:
branches-ignore:
- main
- "automated/dependency_version_update"
- "automated/dependency_version_update_tmp"

env:
BALLERINA_DISTRIBUTION_VERSION: 2201.10.0 # Update this with the latest Ballerina version

jobs:
ubuntu-build:
runs-on: ubuntu-latest
Expand All @@ -17,8 +25,18 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
distribution: "temurin"
java-version: 17.0.7
- name: Set up Ballerina
if: github.event_name == 'workflow_dispatch'
uses: ballerina-platform/[email protected]
with:
version: ${{ github.event.inputs.ballerina_version }}
- name: Set up Ballerina
if: github.event_name == 'push'
uses: ballerina-platform/[email protected]
with:
version: ${{ env.BALLERINA_DISTRIBUTION_VERSION }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
Loading