fix: github workflows syntax

This commit is contained in:
lab 2023-11-10 10:09:12 +08:00
parent 9f2876f8a2
commit 59ed3387a0

View File

@ -1,5 +1,5 @@
name: Gitea Actions CI Demo name: Github Actions CI Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ github.actor }} is testing out Github Actions 🚀
on: on:
push: push:
@ -7,9 +7,17 @@ on:
- "main" - "main"
jobs: jobs:
Explore-Gitea-Actions: Explore-Github-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 Github!"
-
run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
-
name: Checkout repository code
- -
name: Checkout name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3