mirror of
https://github.com/GayPizzaSpecifications/concrete.git
synced 2025-08-05 06:01:34 +00:00
Gradle Plugin Portal
This commit is contained in:
23
.github/workflows/portal.yml
vendored
Normal file
23
.github/workflows/portal.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Gradle Plugin Portal
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Publish with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: publishPlugins
|
||||
env:
|
||||
GRADLE_PLUGIN_PUBLISHING_KEY: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_KEY }}"
|
||||
GRADLE_PLUGIN_PUBLISHING_SECRET: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_SECRET }}"
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
@ -21,3 +21,5 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
GITLAB_TOKEN: "${{ secrets.GITLAB_TOKEN }}"
|
||||
GRADLE_PLUGIN_PUBLISHING_KEY: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_KEY }}"
|
||||
GRADLE_PLUGIN_PUBLISHING_SECRET: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_SECRET }}"
|
||||
|
Reference in New Issue
Block a user