Skip to content

Commit

Permalink
feat: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmonDantes committed Aug 28, 2023
1 parent d82be66 commit efea1ba
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/sonatypePublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ jobs:
- name: Fetch project
run: git fetch --all -f -P -p
- name: Publish
shell: bash
run: >
./${{ matrix.gradlew }}
-Psimple.kmm.spotless.ratchet.git.branch=origin/master
-Psimple.kmm.publish.repository.url="${{ secrets.PUBLISH_REPOSITORY_URL }}"
-Psimple.kmm.publish.repository.id="${{ needs.generate_publish_id.outputs.repository_id }}"
-Psimple.kmm.publish.username="${{ secrets.PUBLISH_REPOSITORY_USERNAME }}"
-Psimple.kmm.publish.password="${{ secrets.PUBLISH_REPOSITORY_PASSWORD }}"
-Psimple.kmm.sign.key.id="${{ secrets.SIGNING_KEY_ID }}"
-Psimple.kmm.sign.password="${{ secrets.SIGNING_PASSWORD }}"
-Psimple.kmm.sign.private.key="${{ secrets.SIGNING_PRIVATE_KEY }}"
-Psimple.kmm.kotlin.compile.target.browser.js.enabled=false
clean ${{ matrix.tasks }} --no-daemon --no-parallel --stacktrace
uses: gradle/gradle-build-action@v2
with:
arguments: >
clean ${{ matrix.tasks }}
-Psimple.kmm.spotless.ratchet.git.branch=origin/master
-Psimple.kmm.publish.repository.url="${{ secrets.PUBLISH_REPOSITORY_URL }}"
-Psimple.kmm.publish.repository.id="${{ needs.generate_publish_id.outputs.repository_id }}"
-Psimple.kmm.publish.username="${{ secrets.PUBLISH_REPOSITORY_USERNAME }}"
-Psimple.kmm.publish.password="${{ secrets.PUBLISH_REPOSITORY_PASSWORD }}"
-Psimple.kmm.sign.key.id="${{ secrets.SIGNING_KEY_ID }}"
-Psimple.kmm.sign.password="${{ secrets.SIGNING_PASSWORD }}"
-Psimple.kmm.sign.private.key="${{ secrets.SIGNING_PRIVATE_KEY }}"
-Psimple.kmm.kotlin.compile.target.browser.js.enabled=false
--no-daemon --no-parallel --stacktrace

0 comments on commit efea1ba

Please sign in to comment.