Update .forgejo/workflows/demo.yml

This commit is contained in:
Jonas 2024-06-26 20:03:50 +00:00
parent a8e0227eeb
commit de03b6bc57

View file

@ -4,8 +4,13 @@ jobs:
env: env:
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
runs-on: docker runs-on: docker
name: A job to say hello
steps: steps:
- run: ls -l / - name: Hello world action step
- run: ls -l /opt id: hello
- run: echo 'lol' >> /opt/hostedtoolcache/omg.txt uses: https://git.php.fail/lubiana/hello-world-podman@v2
- run: cat /opt/hostedtoolcache/omg.txt with:
who-to-greet: 'Mona the Octocat'
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"