Skip to content

Commit

Permalink
Adds java_version input to the snyk workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SHession committed Feb 4, 2022
1 parent 2d42b44 commit 3dd6411
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/sbt-node-snyk.yml
@@ -1,11 +1,15 @@
name: SBT Node Snyk
name: Simple Snyk monitor for SBT + Node

on:
workflow_call:
inputs:
DEBUG:
type: string
required: false
JAVA_VERSION:
type: string
required: true
default: "11"
secrets:
SNYK_TOKEN:
required: true
Expand All @@ -28,7 +32,7 @@ jobs:

- uses: actions/setup-java@v2
with:
java-version: "11"
java-version: ${{ inputs.JAVA_VERSION }}
distribution: "adopt"

- name: Snyk monitor
Expand Down

0 comments on commit 3dd6411

Please sign in to comment.