Skip to content

Commit

Permalink
Deploy gradle plugin with workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 26, 2024
1 parent 4d12d52 commit 2004882
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gradle_plugin_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ on:
- main
paths:
- gradle/libs.versions.toml
- gradle-plugin
pull_request:
paths:
- gradle-plugin/**
types:
- opened
- synchronize
workflow_dispatch:


env:
BUILD_PLUGIN_CI: true
Expand All @@ -30,12 +33,12 @@ jobs:
- name: Test with Gradle
run: ./gradlew gradle-plugin:check
- name: Login to Gradle Plugin Portal
if: "github.event_name == 'push'"
if: "github.event_name == 'push' || github.event_name == 'workflow_dispatch'"
env:
GRADLE_CONFIG: ${{ secrets.GRADLE_CONFIG }}
run: echo "$GRADLE_CONFIG" > ~/.gradle/gradle.properties
- name: Update dependency list
run: ./rebuild-plugin-dependency-list.sh
- name: Gradle Publish
if: "github.event_name == 'push'"
if: "github.event_name == 'push' || github.event_name == 'workflow_dispatch'"
run: ./gradlew :gradle-plugin:publishPlugins

0 comments on commit 2004882

Please sign in to comment.