1
0
Fork 0
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:
Paul Schaub 2023-06-05 22:38:19 +02:00
parent d3ef513960
commit 0fdafdf956
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
3 changed files with 26 additions and 5 deletions

View 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

View file

@ -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:

View file

@ -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: