simple-go-action/.gitea/workflows/build.yaml

20 lines
919 B
YAML
Raw Normal View History

2024-08-12 16:54:18 +08:00
name: Gitea Actions Demo
2024-08-12 16:59:43 +08:00
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
2024-08-12 16:54:18 +08:00
on: [push]
2024-08-12 16:59:43 +08:00
2024-08-12 16:54:18 +08:00
jobs:
Explore-Gitea-Actions:
2024-08-12 16:56:49 +08:00
runs-on: ps_runner_labels
2024-08-13 08:23:47 +08:00
image: catthehacker/ubuntu:act-latest
2024-08-13 08:26:29 +08:00
# volumes:
# - ubuntu_hostedtoolcache:/opt/hostedtoolcache
2024-08-13 08:24:48 +08:00
# env:
# RUNNER_TOOL_CACHE: /toolcache
2024-08-12 16:54:18 +08:00
steps:
2024-08-12 16:59:43 +08:00
- 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 Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- 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."
2024-08-12 17:08:49 +08:00
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: docker version