Skip to content

Commit

Permalink
Merge pull request #32 from SkNuwanTissera/master
Browse files Browse the repository at this point in the history
Add slbeta 4 migration changes
  • Loading branch information
LakshanSS authored Nov 2, 2021
2 parents d6dd2aa + 2458e97 commit 0e3a73f
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 22 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
uses: ballerina-platform/ballerina-action/@nightly
with:
args:
build -c
pack
env:
WORKING_DIR: ./excel
- name: Ballerina Test
uses: ballerina-platform/ballerina-action/@nightly
with:
args:
test
env:
WORKING_DIR: ./excel
REFRESH_URL: ${{ secrets.REFRESH_URL }}
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@ jobs:
uses: ballerina-platform/ballerina-action/@nightly
with:
args:
build -c
pack
env:
WORKING_DIR: ./excel
JAVA_HOME: /usr/lib/jvm/default-jvm

# Test the ballerina project
- name: Ballerina Test
uses: ballerina-platform/ballerina-action/@nightly
with:
args:
test
env:
WORKING_DIR: ./excel
JAVA_HOME: /usr/lib/jvm/default-jvm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: ballerina-platform/ballerina-action/@nightly
with:
args:
build -c --skip-tests
pack
env:
WORKING_DIR: ./excel
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: ballerina-platform/ballerina-action/@master
with:
args:
build -c
pack
env:
WORKING_DIR: ./excel
REFRESH_URL: ${{ secrets.REFRESH_URL }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Execute the commands below to build from the source after installing Ballerina S

1. To build the package:
```
bal build -c ./excel
bal pack ./excel
```
2. To build the package without tests:
2. To run tests after build:
```
bal build -c --skip-tests ./excel
bal test ./excel
```
## Contributing to Ballerina
As an open source project, Ballerina welcomes contributions from the community.
Expand Down
30 changes: 15 additions & 15 deletions excel/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies-toml-version = "2"
[[package]]
org = "ballerina"
name = "auth"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -22,7 +22,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.0.0"
version = "3.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "task"},
Expand All @@ -32,7 +32,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -41,7 +41,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "file"
version = "1.0.0"
version = "1.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "log"},
Expand All @@ -53,7 +53,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -83,7 +83,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.0.0"
version = "1.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
Expand All @@ -97,7 +97,7 @@ version = "0.0.0"
[[package]]
org = "ballerina"
name = "jwt"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "crypto"},
Expand Down Expand Up @@ -177,7 +177,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -191,7 +191,7 @@ modules = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -201,7 +201,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "crypto"},
Expand All @@ -221,7 +221,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.0.0"
version = "1.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -232,15 +232,15 @@ modules = [
[[package]]
org = "ballerina"
name = "regex"
version = "1.0.0"
version = "1.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "task"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -261,15 +261,15 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "url"
version = "2.0.0"
version = "2.0.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand Down

0 comments on commit 0e3a73f

Please sign in to comment.