Update demo WF for gitea
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 55s

This commit is contained in:
2026-02-08 21:08:38 +05:30
parent 6a97b426c8
commit 51be024c11

View File

@@ -1,5 +1,5 @@
name: Forgejo Actions Demo name: Gitea Actions Demo
run-name: ${{ forgejo.actor }} is testing out Forgejo Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@@ -8,17 +8,17 @@ on:
- '**/README.md' - '**/README.md'
jobs: jobs:
Explore-Forgejo-Actions: Explore-Gitea-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ forgejo.event_name }} event." - 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 Forgejo!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ forgejo.ref }} and your repository is ${{ forgejo.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: echo "💡 The ${{ forgejo.repository }} repository has been cloned to the runner." - 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." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ forgejo.workspace }} ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."