first-app/.gitea/workflows/second.yaml

20 lines
914 B
YAML
Raw Normal View History

2024-08-17 00:33:10 +00:00
name: second Gitea Actions
2024-08-17 00:18:28 +00:00
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
2024-08-17 00:33:10 +00:00
second:
runs-on: bash-alpine
2024-08-17 00:18:28 +00:00
steps:
2024-08-17 00:25:55 +00:00
- run: sh -c echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: sh -c echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: sh -c echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
2024-08-17 00:18:28 +00:00
- name: Check out repository code
uses: actions/checkout@v4
2024-08-17 00:25:55 +00:00
- run: sh -c echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: sh -c echo "🖥️ The workflow is now ready to test your code on the runner."
2024-08-17 00:18:28 +00:00
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
2024-08-17 00:25:55 +00:00
- run: sh -c echo "🍏 This job's status is ${{ job.status }}."