Skip to content

Commit

Permalink
Add manual snapshot workflow
Browse files Browse the repository at this point in the history
Created a new GitHub Actions workflow for manually triggering snapshots to the SNAPSHOT repository. Updated the project version in gradle.properties to 0.0.9-SNAPSHOT.
  • Loading branch information
satran004 committed Sep 20, 2024
1 parent c6e14d5 commit 72c5052
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/snapshot_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Manual Snapshot Push to SNAPSHOT repo

on:
workflow_dispatch:

jobs:
commit-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build -PskipSigning=true --stacktrace
- name: Publish package to SNAPSHOT repository
run: ./gradlew publish -PskipSigning=true --warn --stacktrace
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group = com.bloxbean.cardano
artifactId = aiken-java-binding
version = 0.0.9-rc2
version = 0.0.9-SNAPSHOT

0 comments on commit 72c5052

Please sign in to comment.