From be6ce47120d36e20eef155a033bf4b3e7d9f9ec9 Mon Sep 17 00:00:00 2001 From: shyingsheng01 <147713494+shyingsheng01@users.noreply.github.com> Date: Wed, 19 Nov 2025 18:22:19 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0270e1..831717a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,29 @@ # .github/workflows/main.yml name: S60 Test -on: [push] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: - build: + build-and-test: runs-on: S60 # 或者指定标签 # runs-on: [self-hosted, linux, x64] steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - name: Test on S60 + - name: Build run: | - echo "Running on S60 runner" + set -x + echo "Now start to build" + + - name: Test + run: | + set -x + echo "Now start to test" +