Skip to content

Commit

Permalink
fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypfau committed Feb 5, 2023
1 parent 68e61ac commit 8416815
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 59 deletions.
42 changes: 29 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
name: Release project

name: Release
on:
push:
tags:
- 'v*'
branches:
- main

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
include:
- os: ubuntu-latest
gradle_args: publishJvmPublicationToSonatypeRepository publishKotlinMultiplatformPublicationToSonatypeRepository
- os: ubuntu-latest
gradle_args: publishLinuxX64PublicationToSonatypeRepository
- os: ubuntu-latest
gradle_args: publishMingwX64PublicationToSonatypeRepository
- os: macos-latest
gradle_args: publishIosArm64PublicationToSonatypeRepository
- os: macos-latest
gradle_args: publishIosX64PublicationToSonatypeRepository
- os: macos-latest
gradle_args: publishIosSimulatorArm64PublicationToSonatypeRepository
- os: macos-latest
gradle_args: publishMacosX64PublicationToSonatypeRepository
- os: macos-latest
gradle_args: publishMacosArm64PublicationToSonatypeRepository
runs-on: ${{ matrix.os }}
env:
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
Expand All @@ -16,16 +37,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- name: Cache konan
uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan
- name: Build
uses: gradle/gradle-build-action@v2
- uses: actions/setup-java@v3
with:
arguments: assemble
- name: Publish
distribution: liberica
java-version: 17
- name: Build using gradle
uses: gradle/gradle-build-action@v2
with:
arguments: publish closeAndReleaseStagingRepository
arguments: ${{ matrix.gradle_args }}
45 changes: 0 additions & 45 deletions .github/workflows/tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ https://github.com/andreypfau/ton-kotlin/wiki/TON-Kotlin-documentation

<!-- Badges -->

[maven-central]: https://search.maven.org/artifact/org.ton/ton-kotlin
[maven-central]: https://search.maven.org/search?q=g:%22org.ton%22%20AND%20a:%22ton-kotlin%22

[license]: LICENSE
[kotlin]: http://kotlinlang.org
Expand Down

0 comments on commit 8416815

Please sign in to comment.