27 lines
625 B
YAML
27 lines
625 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Info
|
|
run: |
|
|
echo "Triggered by ${{ gitea.event_name }} event"
|
|
echo "Branch: ${{ gitea.ref }}"
|
|
echo "Repository: ${{ gitea.repository }}"
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: List repo files
|
|
run: ls .
|
|
- name: Done
|
|
run: echo "Workflow finished."
|