Skip to content

Commit

Permalink
[actions] those conditionals were not conditional enough...
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 12, 2024
1 parent 23de654 commit 071f163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:

# only for NON-releases on macos-13
- name: macos-13 lightweight build with Gradle for libs
if: ${{ contains(matrix.os, 'macos-13') }}
if: ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
run: ./gradlew --warning-mode all publishToMavenLocal
# only for releases on macos-13
- name: macos-13 lightweight build with Gradle for libs
if: ${{ contains(matrix.os, 'macos-13') }}
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
run: ./gradlew --warning-mode all publish
env:
OSSRH_USERNAME: atsushieno
Expand All @@ -87,11 +87,11 @@ jobs:
SIGNING_SECRET_KEY_RING_FILE: ${{ format('{0}/{1}', github.workspace, secrets.SIGNING_SECRET_KEY_RING_FILE) }}
# only for NON-releases on macos-14
- name: macos-14 lightweight build with Gradle for libs and apps
if: ${{ contains(matrix.os, 'macos-14') }}
if: ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14') }}
run: ./gradlew --warning-mode all publishToMavenLocal iosArm64Binaries
# only for releases on macos-14
- name: macos-14 lightweight build with Gradle for libs and apps
if: ${{ contains(matrix.os, 'macos-14') }}
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14') }}
run: ./gradlew --warning-mode all publish iosArm64Binaries packageDmg
env:
OSSRH_USERNAME: atsushieno
Expand Down

0 comments on commit 071f163

Please sign in to comment.