diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml new file mode 100644 index 00000000..70ff6a7a --- /dev/null +++ b/.github/workflows/ci-build.yml @@ -0,0 +1,18 @@ +name: rest-docs-api-spec Fork Build + +on: + push: + branches: + - publish-fork + +jobs: + ci-build: + name: CI Build + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Build & Test + run: ./gradlew clean build coveralls \ No newline at end of file diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml new file mode 100644 index 00000000..3cf8c98a --- /dev/null +++ b/.github/workflows/release-build.yml @@ -0,0 +1,23 @@ +name: rest-docs-api-spec Fork Release + +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' +jobs: + release-build: + name: Release Build + runs-on: ubuntu-latest + env: + BINTRAY_USER: ${{ secrets.BINTRAY_USER }} + BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Build & Test + run: ./gradlew clean build coveralls + + - name: Deploy to Bintray + run: ./gradlew binTrayUpload \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7e20ae6e..fc309da3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ !.gitignore !.travis.yml !.circleci +!.github .settings/ build/ out/ diff --git a/build.gradle.kts b/build.gradle.kts index e8cd7606..0b78efd0 100755 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,7 +46,7 @@ val nonSampleProjects = subprojects.filterNot { it.isSampleProject() } allprojects { - group = "com.epages" + group = "com.thowimmer" version = scmVer if (!isSampleProject()) { @@ -112,7 +112,7 @@ subprojects { pkg(closureOf { repo = "maven" name = "restdocs-api-spec" - userOrg = "epages" + userOrg = "thowimmer" version(closureOf { gpg(closureOf { sign = true