Skip to content

Commit

Permalink
modify test commands: remove outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
juliamrch committed Nov 29, 2023
1 parent 1c21501 commit b3c7fbd
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,10 @@ on:
- ci-cd

jobs:
job1:
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.install.outputs.test }}
output2: ${{ steps.command.outputs.test }}
install:
runs-on: ubuntu-latest
steps:
- id: install
run: npm install -g clever-tools >> "$GITHUB_OUTPUT"
run: npm install -g clever-tools
- id: command
run: clever --version >> "$GITHUB_OUTPUT"

job2:
runs-on: ubuntu-latest
needs: job1
steps:
- env:
OUTPUT1: ${{needs.job1.outputs.output1}}
OUTPUT2: ${{needs.job1.outputs.output2}}
run: echo "$OUTPUT1 $OUTPUT2"
run: clever --version

0 comments on commit b3c7fbd

Please sign in to comment.