Skip to content

Commit

Permalink
Update update-javavalidator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzautke authored Dec 31, 2024
1 parent bfceba8 commit 4fa0cb7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/update-javavalidator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
- name: Install yq
run: |
sudo apt-get install -y jq
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
chmod +x /usr/bin/yq
# Runs a set of commands using the runners shell
- name: Run a multi-line script
- name: Extract with default version of Java validator
run: |
echo Add other actions to build,
echo test, and deploy your project.
JAVA_VALIDATOR_VERSION=$(yq '.inputs.JAVA_VALIDATOR_VERSION.default' .github/workflows/firely_config.yaml)
echo "JAVA_VALIDATOR_VERSION: $JAVA_VALIDATOR_VERSION"

0 comments on commit 4fa0cb7

Please sign in to comment.