Skip to content

Commit

Permalink
Update config for 0.22.0 features
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt committed Sep 17, 2022
1 parent 22d19fe commit 9e884e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: CI
on:
pull_request:

env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"

jobs:
build:
runs-on: macos-11
Expand Down Expand Up @@ -39,14 +36,12 @@ jobs:
set -o xtrace
if [ ! -z "${{ secrets.SIGNING_KEY }}" ]; then
./gradlew \
--no-parallel \
-PVERSION_NAME="unspecified" \
-PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
-PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}" \
publishToMavenLocal
else
./gradlew \
--no-parallel \
-PVERSION_NAME="unspecified" \
-PRELEASE_SIGNING_ENABLED=false \
publishToMavenLocal
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
types:
- published

env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"

jobs:
publish:
runs-on: macos-11
Expand Down Expand Up @@ -38,18 +35,12 @@ jobs:

- run: >-
./gradlew
--no-parallel
-PVERSION_NAME="${GITHUB_REF/refs\/tags\//}"
-PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}"
-PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}"
-PmavenCentralUsername="${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }}"
-PmavenCentralPassword="${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }}"
publish
- run: >-
./gradlew
-PmavenCentralUsername="${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }}"
-PmavenCentralPassword="${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }}"
closeAndReleaseRepository
- run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android.defaults.buildfeatures.resvalues=false
# https://github.com/vanniktech/gradle-maven-publish-plugin#setting-properties

SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
RELEASE_SIGNING_ENABLED=true

GROUP=com.juul.tuulbox
Expand Down

0 comments on commit 9e884e9

Please sign in to comment.