gitea-actions-test/.gitea/workflows/obs-service.yaml
Alex Lau (AvengerMoJo) a6d40133be
fix the typo actions
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-09-21 00:23:51 +08:00

26 lines
1.1 KiB
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
OBS-Service-Actions-Test:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by opensuse!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Hello action steps
id: hello
uses: actions/hello-docker-action@v2
with:
who-to-greety: 'AvengerMoJo'
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"