This commit is contained in:
hl committed 2025-04-12 11:07:58 +08:00
1 parent 1110869a35
commit 62f171b86f
2 files changed
+10 -10

No files matched your search

+5 -5
View File
@@ -3,12 +3,12 @@ name: build-net
on: on:
push: push:
branches: branches:
- 'master' - "master"
paths: paths:
- '.github/workflows/build-net.yml' - ".github/workflows/build-net.yml"
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '0 16 * * *' - cron: "0 16 * * *"
jobs: jobs:
build-net: build-net:
@@ -20,11 +20,11 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: "3.10"
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f pyproject.toml ]; then pip install .; fi
- name: Checkout reference branch 1 - name: Checkout reference branch 1
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
+5 -5
View File
@@ -3,12 +3,12 @@ name: build-ros-list
on: on:
push: push:
branches: branches:
- 'master' - "master"
paths: paths:
- '.github/workflows/build-ros-list.yml' - ".github/workflows/build-ros-list.yml"
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '10 16 * * *' - cron: "10 16 * * *"
jobs: jobs:
build-ros-list: build-ros-list:
@@ -20,11 +20,11 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: "3.10"
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f pyproject.toml ]; then pip install .; fi
- name: Checkout reference branch 1 - name: Checkout reference branch 1
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: