Skip to content

Commit

Permalink
fix: condition on steps
Browse files Browse the repository at this point in the history
  • Loading branch information
firmanrosid committed Jul 15, 2024
1 parent d1147f0 commit 57c71d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ runs:
using: 'composite'
steps:
- name: Setup Java 21
if: "${{ inputs.report_folder == 'allure-results' }}"
if: contains(inputs.report_folder, 'allure-results')
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Install Allure CLI
if: "${{ inputs.report_folder == 'allure-results' }}"
run: |
if: contains(inputs.report_folder, 'allure-results')
run: |-
npm install -g allure-commandline
allure --version
shell: bash
Expand Down

0 comments on commit 57c71d4

Please sign in to comment.