Skip to content

Commit

Permalink
Merge pull request #10 from kaneeldias/update
Browse files Browse the repository at this point in the history
Migrate to 2201.0.0
  • Loading branch information
kaneeldias committed Mar 25, 2022
2 parents fd38c82 + eb98554 commit 0c52a84
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta3
- name: Ballerina Pack
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
build -c --skip-tests
pack

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

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

- name: Ballerina Central Stage Push
if: ${{ github.event.inputs.environment == 'STAGE CENTRAL' }}
uses: ballerina-platform/ballerina-action/@slbeta3
uses: ballerina-platform/ballerina-action/@2201.0.0
env:
BALLERINA_DEV_CENTRAL: false
BALLERINA_STAGE_CENTRAL: true
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta3
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
build -c --skip-tests

build
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Ballerina Build
uses: ballerina-platform/ballerina-action/@slbeta3
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
build -c --skip-tests
pack

- name: Ballerina Push
uses: ballerina-platform/ballerina-action/@slbeta3
uses: ballerina-platform/ballerina-action/@2201.0.0
with:
args:
push
env:
BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }}

4 changes: 2 additions & 2 deletions Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
org="ballerinax"
name="mssql.driver"
version="1.2.0"
version="1.3.0"
authors=["Ballerina"]
keywords=["MSSQL", "SQL Server"]
repository="https://github.com/ballerina-platform/module-ballerinax-mssql.driver"
license=["Apache-2.0"]
distribution = "slbeta3"
distribution = "2201.0.0"

[[platform.java11.dependency]]
groupId = "com.microsoft.sqlserver"
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 MSSQL driver so that the mssql connector can be

| | Version |
|:---|:---:|
|Ballerina Language | **Swan Lake Beta 3** |
|Ballerina Language | **2201.0.0** |
|MSSQL Driver | **9.4.0.jre11** |

## Usage
Expand Down
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,15 @@ This Package bundles the latest MSSQL driver so that the mssql connector can be

> **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 3](https://ballerina.io/).
2. Download and install [Ballerina 2201.0.0](https://ballerina.io/).

## Building the Source

Execute the commands below to build from the source after installing Ballerina Swan Lake Beta 3 version.
Execute the command below to build from the source after installing Ballerina version 2201.0.0 to build the library.
```shell script
bal build
```

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 0c52a84

Please sign in to comment.