Computer scienceSystem administration and DevOpsCI/CD processesGitHub Actions

Running a "hello world" action

Combined phrase

Report a typo

name: hs_workflow_intro_to_github_actions
on: [push]
jobs:
  show-secret-phrase:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          repository: abystoma/test
          ref: CombinedPhrase
      - name: Create file "hello.txt" with the word Hello
        run: ???
      - name: Show me the answer
        run: cat hello.txt from.txt

In the second step, write a bash command to create a text file hello.txt with the word Hello inside the file. Then run the workflow to find the combined phrase. Your task is to find the secret phrase produced from hello.txt and from.txt file combined. After successfully running the workflow, go to the Actions tab and click on the name of the workflow. Then you need to provide the output of the stage, "Show me the answer".

Enter a short text
___

Create a free account to access the full topic