Merge pull request #109 from Meesho/fix-har-response-bug #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |