demo.txt 893 B

12345678910111213141516171819
  1. name: Gitea Actions Demo
  2. run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
  3. on: [push]
  4. jobs:
  5. Explore-Gitea-Actions:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
  9. - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
  10. - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
  11. - name: Check out repository code
  12. uses: actions/checkout@v4
  13. - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
  14. - run: echo "🖥️ The workflow is now ready to test your code on the runner."
  15. - name: List files in the repository
  16. run: |
  17. ls ${{ gitea.workspace }}
  18. - run: echo "🍏 This job's status is ${{ job.status }}."