Skip to content

Commit

Permalink
Merge pull request #3 from kaneeldias/workflow
Browse files Browse the repository at this point in the history
Modify workflows and Ballerina.toml to release with Swan Lake GA
  • Loading branch information
kaneeldias authored Mar 16, 2022
2 parents 0e4dca0 + 3dc8fa6 commit de62d01
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta5
with:
args:
build --skip-tests

- name: Ballerina Pack
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
pack

- name: Ballerina Central Push
if: ${{ github.event.inputs.environment == 'CENTRAL' }}
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
env:
BALLERINA_DEV_CENTRAL: false
BALLERINA_STAGE_CENTRAL: false
Expand All @@ -44,7 +38,7 @@ jobs:

- name: Ballerina Central Dev Push
if: ${{ github.event.inputs.environment == 'DEV CENTRAL' }}
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
env:
BALLERINA_DEV_CENTRAL: true
BALLERINA_STAGE_CENTRAL: false
Expand All @@ -55,7 +49,7 @@ jobs:

- name: Ballerina Central Stage Push
if: ${{ github.event.inputs.environment == 'STAGE CENTRAL' }}
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
env:
BALLERINA_DEV_CENTRAL: false
BALLERINA_STAGE_CENTRAL: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
build
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
build
- name: Ballerina Push
uses: ballerina-platform/ballerina-action/@slbeta5
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
push
Expand Down
2 changes: 1 addition & 1 deletion Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors=["Ballerina"]
keywords=["OracleDB"]
repository="https://github.com/ballerina-platform/module-ballerinax-oracledb.driver"
license=["Apache-2.0"]
distribution = "slbeta5"
distribution = "2201.0.0"

[[platform.java11.dependency]]
groupId = "com.oracle.database.jdbc"
Expand Down
2 changes: 1 addition & 1 deletion Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This Package bundles the latest OracleDB drivers so that the OracleDB connector

| | Version |
|:---|:---:|
|Ballerina Language | **Swan Lake Beta 5** |
|Ballerina Language | **Swan Lake 2201.0.0** |
|OracleDB Driver | **21.3.0.0** |
|XDB | **21.3.0.0** |
|Xmlparserv2 | **21.3.0.0** |
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,17 @@ This Package bundles the latest OracleDB drivers so that the OracleDB connector

> **Note:** Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

2. Download and install [Ballerina SL Beta 5](https://ballerina.io/).
2. Download and install [Ballerina Swan Lake (2201.0.0)](https://ballerina.io/).

## Building the Source

Execute the commands below to build from the source after installing Ballerina Swan Lake Beta 5 version.
Execute the commands below to build from the source after installing Ballerina Swan Lake 2201.0.0 version.

1. To build the library:
```shell script
bal build
```

2. To build the module without the tests:
```shell script
bal build --skip-tests
```
# Contributing to Ballerina
As an open source project, Ballerina welcomes contributions from the community.

Expand Down

0 comments on commit de62d01

Please sign in to comment.