Skip to content

production

production #7

Workflow file for this run

name: Release on PR Merge
on: deployment
jobs:
deploy:
if: github.event.deployment.environment == 'production'
name: Deploy to gradle portal
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GRADLE_PUBLISHKEY: '${{ secrets.GRADLE_PUBLISHKEY }}'
GRADLE_SECRET: '${{ secrets.GRADLE_SECRET }}'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- uses: getgauge/setup-gauge@master
with:
gauge-plugins: java, html-report, xml-report
- uses: gradle/gradle-build-action@v3
with:
gradle-version: '8.7'
- name: Upload to gradle portal
run: |
./gradlew plugin:build
./gradlew plugin:publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISHKEY -Pgradle.publish.secret=$GRADLE_SECRET