-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from ReneeVandervelde/master
Build upgrades / prepare for release
- Loading branch information
Showing
9 changed files
with
106 additions
and
849 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 |
---|---|---|
|
@@ -9,5 +9,5 @@ jobs: | |
uses: actions/[email protected] | ||
- | ||
name: Unit Tests | ||
run: ./gradlew jvmTest test | ||
run: ./gradlew check | ||
|
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 |
---|---|---|
|
@@ -14,8 +14,18 @@ jobs: | |
- | ||
name: JVM Tests | ||
run: ./gradlew jvmTest | ||
- | ||
name: Docs Requirements | ||
run: > | ||
./gradlew dokkaHtmlMultiModule -Pversion=latest && | ||
if [[ $(git status --porcelain) ]]; then | ||
echo "Docs are out of date!" && exit 1; | ||
else | ||
echo "Docs are current" && exit 0; | ||
fi | ||
common: | ||
runs-on: ubuntu-latest | ||
needs: tests | ||
steps: | ||
- | ||
name: Checkout | ||
|
@@ -35,6 +45,37 @@ jobs: | |
- | ||
name: Build JS Publication | ||
run: ./gradlew publishJsPublicationToBuildRepository -Pversion=${GITHUB_TAG/refs\/tags\//} | ||
- | ||
name: Create GitHub Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ github.ref }} | ||
draft: true | ||
prerelease: false | ||
- | ||
name: Upload Cli Tar | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: cli/build/distributions/shade.tar | ||
asset_name: shade.tar | ||
asset_content_type: application/x-tar | ||
- | ||
name: Upload Cli Zip | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: cli/build/distributions/shade.zip | ||
asset_name: shade.zip | ||
asset_content_type: application/zip | ||
- | ||
name: Maven Publish | ||
env: | ||
|
@@ -53,6 +94,7 @@ jobs: | |
linux: | ||
runs-on: ubuntu-latest | ||
needs: tests | ||
steps: | ||
- | ||
name: Checkout | ||
|
@@ -82,6 +124,7 @@ jobs: | |
windows: | ||
runs-on: windows-latest | ||
needs: tests | ||
steps: | ||
- | ||
name: Checkout | ||
|
@@ -112,6 +155,7 @@ jobs: | |
--project-prop version=${GITHUB_TAG/refs\/tags\//} | ||
macos: | ||
runs-on: macos-latest | ||
needs: tests | ||
steps: | ||
- | ||
name: Checkout | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
uses: actions/[email protected] | ||
- | ||
name: Build | ||
run: ./gradlew build | ||
run: ./gradlew build check | ||
- | ||
name: Prepare Archives | ||
run: cp cli/build/distributions/shade-*.zip cli/build/distributions/shade.zip && cp cli/build/distributions/shade-*.tar cli/build/distributions/shade.tar | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ plugins { | |
kotlin { | ||
jvm() | ||
|
||
js { | ||
js(BOTH) { | ||
nodejs() | ||
browser() | ||
} | ||
|
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
Oops, something went wrong.