Skip to content

Commit

Permalink
chore: kotlin 2.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Apr 29, 2024
1 parent 7aaf7c7 commit 62790ef
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 218 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,35 @@ on:
- '!./github/workflow/snapshot.yml'

jobs:
build-upload:
unit-tests:
name: Unit tests
runs-on: macOS-latest
steps:
- name: Setup
uses: kosi-libs/kodein-internal-github-actions/setup@main

instrumentation-tests:
name: Instrumentation tests
runs-on: ubuntu-latest
steps:
- name: Setup
uses: kosi-libs/kodein-internal-github-actions/setup@main
- name: Check with Android
uses: kosi-libs/kodein-internal-github-actions/checkWithAndroid@main

upload:
needs:
- unit-tests
- instrumentation-tests
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 with Android
uses: kosi-libs/kodein-internal-github-actions/checkWithAndroid@main
- name: Gradle cache
uses: gradle/gradle-build-action@v3
- name: Upload
run: ./gradlew publishAllPublicationsToOssrhStagingRepository -PgitRef=${{ github.ref }} -Psnapshot=true
shell: bash
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ package-lock.json
*.a
*.o
*.so

# Kotlin
.kotlin
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ plugins {

allprojects {
group = "org.kodein.type"
version = "2.8.2"
version = "2.9.0"
}
Loading

0 comments on commit 62790ef

Please sign in to comment.