2023-09-20 23:43:03 +08:00
|
|
|
name: Gitea Actions Demo
|
|
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-09-21 14:25:40 +08:00
|
|
|
hello_world_job:
|
2023-09-20 23:51:30 +08:00
|
|
|
runs-on: ubuntu-latest
|
2023-09-21 14:52:59 +08:00
|
|
|
name: opensuse container checkout test
|
2023-09-20 23:43:03 +08:00
|
|
|
steps:
|
2023-09-21 14:25:40 +08:00
|
|
|
- name: Hello world action step
|
2023-09-21 00:18:06 +08:00
|
|
|
id: hello
|
2023-09-21 14:32:40 +08:00
|
|
|
uses: https://src.opensuse.org/alexlau/gitea-actions-test/@v1
|
2023-09-20 23:43:03 +08:00
|
|
|
with:
|
2023-09-21 14:25:40 +08:00
|
|
|
who-to-greet: 'AvengerMoJo'
|
|
|
|
# Use the output from the `hello` step
|
2023-09-20 23:43:03 +08:00
|
|
|
- name: Get the output time
|
2023-09-21 14:29:45 +08:00
|
|
|
run: echo "The time was ${{ steps.hello.outputs.time }}"
|