forked from alxndrsn/bikram-sambat.js
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
242 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,11 @@ on: [push, pull_request] | |
jobs: | ||
js-bootstrap: | ||
name: Test JS bootstrap on Node v${{ matrix.node-version }} | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ 12.x, 14.x, 16.x ] | ||
node-version: [ 18.x, 20.x, 22.x ] | ||
|
||
defaults: | ||
run: | ||
|
@@ -26,11 +26,11 @@ jobs: | |
|
||
js-library: | ||
name: Test JS library on Node v${{ matrix.node-version }} | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ 12.x, 14.x, 16.x ] | ||
node-version: [ 18.x, 20.x, 22.x ] | ||
|
||
defaults: | ||
run: | ||
|
@@ -52,37 +52,46 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Java | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11 | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v2 | ||
|
||
- uses: nttld/setup-ndk@v1 | ||
id: setup-ndk | ||
with: | ||
ndk-version: r17c | ||
- name: Test | ||
|
||
- name: Update Gradle Wrapper | ||
run: ./gradlew wrapper --gradle-version 7.6 | ||
|
||
- name: Build | ||
env: | ||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | ||
run: make test-java | ||
run: ./gradlew --daemon --parallel build | ||
|
||
publish: | ||
needs: [js-bootstrap, js-library, java] | ||
runs-on: ubuntu-18.04 | ||
needs: [ js-bootstrap, js-library, java ] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Set up Java | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11 | ||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v2 | ||
- uses: nttld/setup-ndk@v1 | ||
id: setup-ndk | ||
with: | ||
ndk-version: r17c | ||
- name: Update Gradle Wrapper | ||
run: ./gradlew wrapper --gradle-version 7.6 | ||
- name: Set IS_TAG | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | ||
|
@@ -92,4 +101,3 @@ jobs: | |
run: | | ||
scripts/ci/maven-deploy java/lib/build/libs/bikram-sambat.jar bikramsambat bikram-sambat | ||
scripts/ci/maven-deploy java/android-lib/build/outputs/aar/android-lib-release.aar bikramsambat bikram-sambat-android | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.gradle | ||
/temp_scripts/ | ||
/*.log | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ allprojects { | |
} | ||
|
||
subprojects { | ||
apply plugin: 'maven' | ||
apply plugin: 'maven-publish' | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue May 16 22:58:22 SGT 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-bin.zip |
Oops, something went wrong.