22 lines
No EOL
623 B
YAML
22 lines
No EOL
623 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 3 * * *
|
|
push:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: native
|
|
|
|
steps:
|
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: List files in the repository
|
|
run: |
|
|
ls ${{ gitea.workspace }}
|
|
- name: Update flake
|
|
run: nix flake update |