name: "Release Gradle project"
on: [ workflow_dispatch ]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            -   name: Check out project
                uses: actions/checkout@v2
            -   name: Set up JDK 6
                uses: actions/setup-java@v1
                with:
                    java-version: '6.0.119'
                    java-package: jdk
                    architecture: x64
            -   name: Set up JDK 8
                uses: actions/setup-java@v1
                with:
                    java-version: '8'
            -   name: Build and deploy with Gradle
                uses: gradle/gradle-build-action@v2
                env:
                    BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
                    BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
                with:
                    arguments: clean -i build generatePomFileForPluginPublicationPublication bintrayUpload -PRELEASE -Porg.gradle.java.installations.fromEnv=JAVA_HOME_6_0_119_X64 -PjavaCompilerVersion=6 -Pteamcity-build-scan-plugin.acceptGradleTOS=true

name: "Release Gradle project"
on: [ workflow_dispatch ]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            -   name: Check out project
                uses: actions/checkout@v2
            -   name: Set up JDK 6
                uses: actions/setup-java@v1
                with:
                    java-version: '6.0.119'
                    java-package: jdk
                    architecture: x64
            -   name: Set up JDK 8
                uses: actions/setup-java@v1
                with:
                    java-version: '8'
            -   name: Build and deploy with Gradle
                uses: gradle/gradle-build-action@v2
                with:
                    arguments: clean -i build generatePomFileForPluginPublicationPublication -PRELEASE -Porg.gradle.java.installations.fromEnv=JAVA_HOME_6_0_119_X64 -PjavaCompilerVersion=6 -Pteamcity-build-scan-plugin.acceptGradleTOS=true

Remove bintray references from GH action
Remove bintray references from GH action
