From 72c505241dd079aca5efb5fca6d315ff6d349822 Mon Sep 17 00:00:00 2001 From: Satya Date: Fri, 20 Sep 2024 11:19:36 +0800 Subject: [PATCH] Add manual snapshot workflow 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. --- .github/workflows/snapshot_manual.yml | 27 +++++++++++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/snapshot_manual.yml diff --git a/.github/workflows/snapshot_manual.yml b/.github/workflows/snapshot_manual.yml new file mode 100644 index 0000000..eae61dd --- /dev/null +++ b/.github/workflows/snapshot_manual.yml @@ -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 }} diff --git a/gradle.properties b/gradle.properties index 25a85a8..3645f86 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ group = com.bloxbean.cardano artifactId = aiken-java-binding -version = 0.0.9-rc2 +version = 0.0.9-SNAPSHOT