Skip to content

Commit

Permalink
[actions] add missing publication env. values to macos builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 12, 2024
1 parent 5eab755 commit 743920c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,24 @@ jobs:
- name: macos-13 lightweight build with Gradle () for libs
if: ${{ contains(matrix.os, 'macos-13') }}
run: ./gradlew --warning-mode all publishToMavenLocal
env:
OSSRH_USERNAME: atsushieno
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_STAGING_REPOSITORY_ID: ${{ needs.create_staging_repository.outputs.repository_id }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ format('{0}/{1}', github.workspace, secrets.SIGNING_SECRET_KEY_RING_FILE) }}
# only on macos-14
- name: macos-14 lightweight build with Gradle () for libs and apps
if: ${{ contains(matrix.os, 'macos-14') }}
run: ./gradlew --warning-mode all publishToMavenLocal iosArm64Binaries packageDmg
env:
OSSRH_USERNAME: atsushieno
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_STAGING_REPOSITORY_ID: ${{ needs.create_staging_repository.outputs.repository_id }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ format('{0}/{1}', github.workspace, secrets.SIGNING_SECRET_KEY_RING_FILE) }}
# only for NON-releases on Linux
- name: linux build with Gradle ()
if: ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'ubuntu-22.04') }}
Expand Down

0 comments on commit 743920c

Please sign in to comment.