diff --git a/.github/workflows/ci4main.yml b/.github/workflows/ci4main.yml index e02dda0..630146e 100644 --- a/.github/workflows/ci4main.yml +++ b/.github/workflows/ci4main.yml @@ -1,34 +1,36 @@ -name: main CI - -on: - push: - branches: - - main - pull_request: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - - name: Check out branch main - uses: actions/checkout@v4 - - - uses: actions/checkout@v4 - with: - repository: cyijun/ci-arduino - path: ci - - - name: pre-install - run: bash ci/actions_install.sh - - - name: build test - run: python3 ci/build_platform.py esp32 +name: main CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Check out branch main + uses: actions/checkout@v4 + with: + ref: main + + - uses: actions/checkout@v4 + with: + repository: adafruit/ci-arduino + path: ci + + - name: pre-install + run: bash ci/actions_install.sh + + - name: build test + run: python3 ci/build_platform.py esp32 \ No newline at end of file diff --git a/.github/workflows/ci4next.yml b/.github/workflows/ci4next.yml deleted file mode 100644 index 97f9619..0000000 --- a/.github/workflows/ci4next.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: next CI - -on: - push: - branches: - - next - pull_request: - branches: - - next - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - - name: Check out branch next - uses: actions/checkout@v4 - with: - ref: next - - - uses: actions/checkout@v4 - with: - repository: adafruit/ci-arduino - path: ci - - - name: pre-install - run: bash ci/actions_install.sh - - - name: build test - run: python3 ci/build_platform.py esp32 \ No newline at end of file