ci: Main build needs to pass on secrets to the shared build #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle then perform an automated release | |
# For more information see: | |
# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
# https://github.com/marketplace/actions/action-for-semantic-release | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
uses: lsd-consulting/shared-workflows/.github/workflows/build.yml@main | |
with: | |
java-version: '17' | |
codecov: true | |
secrets: inherit | |
release: | |
needs: build | |
uses: lsd-consulting/shared-workflows/.github/workflows/release.yml@main | |
with: | |
java-version: '17' | |
secrets: inherit |