use action from remote #3
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
on: [push] | |
jobs: | |
hello_world_job: | |
runs-on: ubuntu-latest | |
name: A job to say hello | |
steps: | |
- name: Hello world action step | |
uses: baloise-incubator/gitopscli-action@main # Uses an action in the root directory | |
id: GitOpsCli | |
with: | |
command: '-h' | |
# Use the output from the `hello` step | |
- name: Get the output time | |
run: echo "The time was ${{ steps.hello.outputs.time }}" |