chore: rename github action job name #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI # Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test_custom_action_itself: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create input file | |
run: echo "This is the original file content." > input.txt | |
- name: Run Comprehensive Action | |
id: my_action | |
uses: ./ | |
- name: Display outputs | |
run: | | |
echo "processed_text: ${{ steps.my_action.outputs.processed_text }}" | |
echo "word_count: ${{ steps.my_action.outputs.word_count }}" | |
echo "sum: ${{ steps.my_action.outputs.sum }}" | |
echo "average: ${{ steps.my_action.outputs.average }}" | |
echo "response_field: ${{ steps.my_action.outputs.response_field }}" | |
- name: Display modified file content | |
run: cat output.txt |