Skip to content

Fixed missed bugs

Fixed missed bugs #1

Workflow file for this run

permissions:

Check failure on line 1 in .github/workflows/test-branch.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-branch.yaml

Invalid workflow file

(Line: 58, Col: 22): Unrecognized named-value: 'input'. Located at position 1 within expression: input.run-tests
# This is required for requesting the OIDC token
id-token: write
on:
workflow_call:
inputs:
source-branch:
type: string
required: true
description: Branch to run test against
crypto-type:
type: string
required: true
java-version:
type: string
required: true
run-tests:
type: boolean
required: true
server-tag:
type: string
required: true
server-type:
type: string
required: true
secrets:
JFROG_OIDC_PROVIDER:
required: true
JFROG_OIDC_AUDIENCE:
required: true
jobs:
build:
runs-on: ${{ vars.BUILD_CONTAINER_DISTRO_VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.source-branch }}
# Java plugin will setup gpg but we are not using maven to deploy do JFrog.
# - jf mvn clean install on publish does not publish POM we would like to publish
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "semeru"
java-version: ${{ inputs.java-version }}
# Running build followed by tests
- name: Build and test
uses: ./.github/actions/build-and-test
with:
crypto-type: ${{ inputs.crypto-type }}
server-tag: ${{ inputs.server-tag }}
server-type: ${{ inputs.server-type }}
run-tests: ${{ input.run-tests }}
oidc-provider: ${{ secrets.JFROG_OIDC_PROVIDER }}
oidc-audience: ${{ secrets.JFROG_OIDC_AUDIENCE }}