test/.forgejo/workflows/demo.yml

18 lines
828 B
YAML
Raw Normal View History

2023-10-06 21:31:38 +00:00
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: docker
container:
image: alpine:3.18
2023-10-06 21:31:38 +00:00
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
2023-10-11 20:31:21 +00:00
- 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 }}."
- name: Check out repository code
uses: actions/checkout@v4
2023-10-11 20:31:21 +00:00
- run: echo " The ${{ forgejo.repository }} repository has been cloned to the runner."
- run: echo " The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ forgejo.workspace }}
- run: echo " This job's status is ${{ job.status }}."