Skip to content

Instantly share code, notes, and snippets.

@wenqiglantz
Created November 5, 2022 21:02
Show Gist options
  • Select an option

  • Save wenqiglantz/43fa5fbff35cd58671f4c393fb459854 to your computer and use it in GitHub Desktop.

Select an option

Save wenqiglantz/43fa5fbff35cd58671f4c393fb459854 to your computer and use it in GitHub Desktop.
jobs:
build:
permissions:
id-token: write # need this for OIDC
contents: read
uses: <path to reusable workflows repo>/.github/workflows/java-maven-build-test.yml@latest
with:
# for multi-repo, set it as "." (current directory); for monorepo, specify the file path for UI, such as "./frontend"
working-directory: .
env: ${{ github.event.inputs.environment }}
build-dir: build
secrets: inherit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment