Skip to content

Commit

Permalink
Added releease ios
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Apr 17, 2023
1 parent a48f10c commit 44d2fa4
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/release_ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: release_ios

on:
workflow_dispatch:
inputs:
version:
description: "The release version"
required: true
branch:
description: "The branch to release from"
required: true
default: 'master'
env:
RELEASE_VERSION: ${{ github.event.inputs.version }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=756m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

permissions:
contents: read

jobs:
publish_ios:
runs-on: macos-11
strategy:
max-parallel: 1
matrix:
target:
- publishIosX64PublicationToDeployRepository
- publishIosSimulatorArm64PublicationToDeployRepository
- publishIosArm64PublicationToDeployRepository
- publishIosArm32PublicationToDeployRepository
steps:
- name: Checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'

- uses: gradle/gradle-build-action@v2

- name: publish
run: ./gradlew ${{ matrix.target }}

0 comments on commit 44d2fa4

Please sign in to comment.