diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d03644c..386c86b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,8 +6,8 @@ name: Publish To Maven Central on: # Triggers the workflow when tag is pushed push: - tags: - - 'v*' + tags: + - 'v*' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,17 +17,22 @@ jobs: # This workflow contains a single job called "publish" publish: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: macos-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' # Runs a single command using the runners shell - name: publish - run: ./gradlew publish --no-daemon --no-parallel --stacktrace --info - env: + run: ./gradlew publish --no-daemon --no-parallel + env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index a05424f..370c0c3 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -12,12 +12,17 @@ on: jobs: detekt: name: Detekt - runs-on: ubuntu-latest + runs-on: macos-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' # Runs a single command using the runners shell - name: detekt @@ -25,12 +30,17 @@ jobs: spotless: name: Spotless - runs-on: ubuntu-latest + runs-on: macos-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' # Runs a single command using the runners shell - name: spotless diff --git a/.gitignore b/.gitignore index 4f4d8e3..e44d96a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,9 @@ *.iml .gradle /local.properties -/.idea/caches -/.idea/libraries -/.idea/inspectionProfiles -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -/.idea/misc.xml -/.idea/deploymentTargetDropDown.xml -/.idea/kotlinc.xml +/.idea .DS_Store -/build +build/ /captures .externalNativeBuild .cxx -local.properties diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ecb9cfc..10965d5 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,12 +4,26 @@