Skip to content

Merge pull request #107 from Meesho/fix-transactions-orderby #8

Merge pull request #107 from Meesho/fix-transactions-orderby

Merge pull request #107 from Meesho/fix-transactions-orderby #8

name: Publish Release
on:
push:
tags:
- '*'
jobs:
publish:
if: ${{ github.repository == 'ChuckerTeam/chucker'}}
runs-on: [ubuntu-latest]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Publish to Maven Local
run: ./gradlew publishToMavenLocal
env:
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_PWD }}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: 'chucker-release-artifacts'
path: '~/.m2/repository/'
- name: Publish to the Staging Repository
run: ./gradlew publishReleasePublicationToStagingRepository --no-parallel
env:
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNING_PWD }}
ORG_GRADLE_PROJECT_NEXUS_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_NEXUS_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_NEXUS_PASSWORD }}