Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Dec 6, 2024
1 parent 5054319 commit 27d7aa4
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,30 @@ on:

jobs:
run_first_workflow:
name: Run First Workflow
uses: jacqueline-57b/hub-perf-test/.github/workflows/test1.yml@main
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Generate Output
id: generate_output
run: |
OUTPUT_VALUE="jacqueline-test-1"
echo "OUTPUT_VALUE=${OUTPUT_VALUE}" >> $GITHUB_ENV
echo "generated_value=${OUTPUT_VALUE}" >> $GITHUB_OUTPUT
echo "${{ env.OUTPUT_VALUE }}"
- name: echo output
id: echo_output
run: |
echo "steps.outputs: ${{ steps.generate_output.outputs.generated_value}}"
echo "env.outputs: ${{ env.OUTPUT_VALUE}}"
outputs:
output_value: ${{ env.OUTPUT_VALUE }}
generated_value: ${{ steps.generate_output.outputs.generated_value }}

use_output:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 27d7aa4

Please sign in to comment.