From 3952b004b9e1f3010f70f24b1b0f5157b78c1bfb Mon Sep 17 00:00:00 2001 From: Ting-Jun Wang Date: Wed, 7 Aug 2024 17:36:27 +0800 Subject: [PATCH] fix: gitea to github --- .github/workflows/echo.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/echo.yaml b/.github/workflows/echo.yaml index 49db389..e890c69 100644 --- a/.github/workflows/echo.yaml +++ b/.github/workflows/echo.yaml @@ -1,20 +1,20 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +name: Gitub Actions Demo +run-name: ${{ github.actor }} is testing out Github Actions 🚀 on: [push] jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest steps: - - 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 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: Check out repository code uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - 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: List files in the repository run: | - ls ${{ gitea.workspace }} + ls ${{ github.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}."