From cae174ae96cacbfd008557d0011bb9df5cac917f Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Mon, 22 Aug 2022 11:35:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=86=20Create=20publish=20action=20yooo?= =?UTF-8?q?=20=F0=9F=A5=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e2365dc --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + release: ["master"] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + deploying: + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Deploying a Plugin with Gradle + run: ./gradlew publishPlugin -Dorg.gradle.project.intellijPublishToken=${{ secrets.PUBLISH_TOKEN }}