-
Notifications
You must be signed in to change notification settings - Fork 3
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
0 parents
commit 82ff18f
Showing
66 changed files
with
44,577 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: build and publish a release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
create-staging-repository: | ||
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/create-nexus-staging-repository.yml@main | ||
secrets: inherit | ||
|
||
build-upload: | ||
needs: create-staging-repository | ||
runs-on: macOS-latest | ||
env: | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
GPG_PRIVATE_KEY: ${{ secrets.PGP_SIGNING_KEY }} | ||
GPG_PRIVATE_PASSWORD: ${{ secrets.PGP_SIGNING_PASSWORD }} | ||
steps: | ||
- name: Setup | ||
uses: kosi-libs/kodein-internal-github-actions/setup@main | ||
- name: Check | ||
run: ./gradlew --stacktrace check | ||
shell: bash | ||
- name: Upload | ||
run: ./gradlew --stacktrace publishAllPublicationsToOssrhStagingRepository -Porg.kodein.sonatype.repositoryId=${{ needs.create-staging-repository.outputs.repository-id }} | ||
shell: bash | ||
|
||
drop-or-release-staging-repository: | ||
needs: [create-staging-repository, build-upload] | ||
if: ${{ always() && needs.create-staging-repository.result == 'success' }} | ||
uses: kosi-libs/kodein-internal-github-actions/.github/workflows/drop-or-release-nexus-staging-repository.yml@main | ||
secrets: inherit | ||
with: | ||
repository-id: ${{ needs.create-staging-repository.outputs.repository-id }} | ||
build-upload-result: ${{ needs.build-upload.result }} |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: build and publish a snapshot | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'snapshot/*' | ||
- 'kotlin-*' | ||
paths-ignore: | ||
- '**.md' | ||
- '**.adoc' | ||
- '**/.gitignore' | ||
- './github/**' | ||
- '!./github/workflow/snapshot.yml' | ||
|
||
jobs: | ||
build-upload: | ||
runs-on: macOS-latest | ||
env: | ||
SONATYPE_USERNAME: ${{ secrets.sonatype_username }} | ||
SONATYPE_PASSWORD: ${{ secrets.sonatype_password }} | ||
steps: | ||
- name: Setup | ||
uses: kosi-libs/kodein-internal-github-actions/setup@main | ||
- name: Check | ||
run: ./gradlew --stacktrace check | ||
shell: bash | ||
- name: Upload | ||
run: ./gradlew publishAllPublicationsToOssrhStagingRepository -PgitRef=${{ github.ref }} -Psnapshot=true | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: check | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- '**.adoc' | ||
- '**/.gitignore' | ||
- './github/**' | ||
- '!./github/workflow/test.yml' | ||
|
||
jobs: | ||
check: | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Setup | ||
uses: kosi-libs/kodein-internal-github-actions/setup@main | ||
- name: Check | ||
run: ./gradlew --stacktrace check | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
### Gradle ### | ||
.gradle | ||
build/ | ||
.gradletasknamecache | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
|
||
### Js ### | ||
node_modules/ | ||
|
||
### Android ### | ||
local.properties | ||
|
||
### iOS ### | ||
xcuserdata | ||
*.xcodeproj/* | ||
!*.xcodeproj/project.pbxproj | ||
!*.xcodeproj/xcshareddata/ | ||
!*.xcodeproj/project.xcworkspace/ | ||
!*.xcworkspace/contents.xcworkspacedata | ||
**/xcshareddata/WorkspaceSettings.xcsettings |
Oops, something went wrong.