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
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||
|
||||
name: Build
|
||||
name: Push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -28,8 +28,6 @@ jobs:
|
|||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
- name: Gradle Dependency Submission
|
||||
uses: mikepenz/gradle-dependency-submission@v0.8.6
|
||||
- name: Build, Check and Coverage
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
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
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||
|
||||
name: Build
|
||||
name: PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
Loading…
Reference in a new issue