diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 42b348c..984c5ea 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -25,6 +25,10 @@ jobs: # https://github.com/actions/checkout - name: Checkout code uses: actions/checkout@v4 + run: | + echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Get commit message (Push) if: github.event_name == 'push' run: | @@ -85,7 +89,7 @@ jobs: - name: Install dependencies run: npm --version - name: Run tests - run: echo "npm test 成功,actions/github-script@v5 创建合并请求" + run: echo "npm test 成功actions/github-script@v5创建合并请求" - name: Set up JDK 17 uses: actions/setup-java@v4 with: @@ -95,12 +99,7 @@ jobs: run: | echo "mvn clean install -DskipTests" mvn --version - - 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." - name: List files in the repository run: | ls ${{ gitea.workspace }}