Files
containers/.gitea/workflows/build.yaml
Marco Verleun ba201d6c3f
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 18s
Gitea Actions Demo / Second-step (push) Successful in 3s
Add second job
2023-04-19 11:19:56 +02:00

31 lines
1.1 KiB
YAML

name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
# Which git events can trigger this
on: [push]
jobs:
Explore-Gitea-Actions:
# Runner to use
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.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 ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Execute a shell script
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
Second-step:
runs-on: ubuntu-latest
steps:
- name: Run another shell script
run: |
set -x
df
env | sort
ls /etc
cat /etc/os-release