mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-18 02:12:06 +01:00
Enable dependency-submission in submodules
This commit is contained in:
parent
d3ef513960
commit
0fdafdf956
3 changed files with 26 additions and 5 deletions
23
.github/workflows/depencency-submission.yml
vendored
Normal file
23
.github/workflows/depencency-submission.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Dependencies
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Dependencies
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions: # The Dependency Submission API requires write permission
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: 'Checkout Repository'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run snapshot action
|
||||||
|
uses: mikepenz/gradle-dependency-submission@v0.8.6
|
||||||
|
with:
|
||||||
|
gradle-build-module: |-
|
||||||
|
:pgpainless-core
|
||||||
|
:pgpainless-sop
|
||||||
|
:pgpainless-cli
|
||||||
|
sub-module-mode: |-
|
||||||
|
INDIVIDUAL_DEEP
|
6
.github/workflows/gradle_push.yml
vendored
6
.github/workflows/gradle_push.yml
vendored
|
@ -9,14 +9,14 @@
|
||||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
name: Build
|
name: Push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -28,8 +28,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Gradle Dependency Submission
|
|
||||||
uses: mikepenz/gradle-dependency-submission@v0.8.6
|
|
||||||
- name: Build, Check and Coverage
|
- name: Build, Check and Coverage
|
||||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||||
env:
|
env:
|
||||||
|
|
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
|
@ -9,7 +9,7 @@
|
||||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
name: Build
|
name: PR
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
Loading…
Reference in a new issue