/
SoRusV
/
esp32_https_server
Обзор
Документация
Войти
/
SoRusV
/
esp32_https_server
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/build-examples-pr.yml
53 строки
2 KB
Frank Hessel
GitHub Workflows: Update actions
23 янв 2021, 22:29
23 янв 2021, 22:29
de1876c
Код
Авторство
О чём код?
name: Build Examples on: pull_request: types: [labeled] jobs: build-examples: strategy: matrix: example: - Async-Server - Authentication - HTML-Forms - HTTPS-and-HTTP - Middleware - Parameters - Parameter-Validation - Put-Post-Echo - REST-API - Self-Signed-Certificate - Static-Page - Websocket-Chat board: - wrover - wroom runs-on: ubuntu-latest if: "contains( github.event.pull_request.labels.*.name, 'CI: Build Examples' )" steps: - name: Checkout codebase uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Set up Python uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df with: python-version: '3.8' - name: Install PlatformIO run: | python -m pip install --upgrade pip pip install platformio - name: Build example run: ./extras/ci/scripts/build-example.sh ${{ matrix.board }} ${{ matrix.example }} remove-label: runs-on: ubuntu-latest if: "contains( github.event.pull_request.labels.*.name, 'CI: Build Examples' )" steps: - name: Remove Label from PR uses: octokit/request-action@91508edec0a9561c2fefb9282491ced243bed312 with: route: DELETE /repos/:repository/issues/:issue_number/labels/:name repository: ${{ github.repository }} issue_number: ${{ github.event.number }} name: "CI%3A Build Examples" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}