Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/core-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [ published ]

jobs:
publish-wallet-sdk:
publish-core-sdk:
if: ${{ startsWith(github.event.release.tag_name, 'core-') }}
runs-on: macos-11

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/crypto-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Crypto SDK Build

on:
push:
paths:
- 'crypto/**'
- 'build.gradle.kts'
- '.github/workflows/crypto-build.yaml'
branches:
- 'main'
- 'develop'

jobs:
build:
# No point in running this build on a core cut because it will fail until the deploy is done.
if: github.event.base_ref == null || !startsWith(github.event.base_ref, 'release/core-')
runs-on: macos-11

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Build and lint
uses: gradle/gradle-build-action@v2.4.2
with:
arguments: crypto:assemble
30 changes: 30 additions & 0 deletions .github/workflows/crypto-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Crypto SDK Publish

on:
release:
types: [ published ]

jobs:
publish-crypto-sdk:
if: ${{ startsWith(github.event.release.tag_name, 'crypto-') }}
runs-on: macos-11

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Publish package
uses: gradle/gradle-build-action@v2.4.2
with:
arguments: crypto:publish
env:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY_IN_MEMORY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
2 changes: 1 addition & 1 deletion .github/workflows/lightspark-sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [ published ]

jobs:
publish-wallet-sdk:
publish-lightspark-sdk:
if: ${{ startsWith(github.event.release.tag_name, 'lightspark-sdk-') }}
runs-on: macos-11

Expand Down
2 changes: 1 addition & 1 deletion crypto/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GROUP=com.lightspark
POM_ARTIFACT_ID=lightspark-crypto
# Don't bump this manually. Run `scripts/versions.main.kt <new_version>` to bump the version instead.
VERSION_NAME=0.1.1
VERSION_NAME=0.1.2

POM_DESCRIPTION=The Lightspark shared crypto library.
POM_INCEPTION_YEAR=2023