Skip to content

Commit

Permalink
Added release tvos
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Apr 17, 2023
1 parent 855d4fd commit d37d824
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/release_tvos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: release_tvos

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_tvos:
runs-on: macos-11
strategy:
max-parallel: 6
matrix:
target:
- publishTvosX64PublicationToDeployRepository
- publishTvosArm64PublicationToDeployRepository
- publishTvosSimulatorArm64PublicationToDeployRepository
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 d37d824

Please sign in to comment.