See if CI/CD will work #1
|
@ -18,9 +18,9 @@ jobs:
|
|||
name: Build Docs
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10.0"
|
||||
python-version: "3.10"
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
@ -31,8 +31,9 @@ jobs:
|
|||
# with:
|
||||
# path: ~/.platformio
|
||||
# key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
@ -65,8 +66,9 @@ jobs:
|
|||
# path: ~/.platformio
|
||||
# key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
python-version: 3.11
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
ln /usr/bin/python3 /usr/bin/python
|
||||
|
|
|
@ -42,24 +42,24 @@ jobs:
|
|||
name: Board-Hardware
|
||||
path: _hardwareOutput
|
||||
|
||||
dev-publish:
|
||||
# publish only to devs
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
name: Dev-Publish
|
||||
needs: [KiCad_Hardware]
|
||||
# dev-publish:
|
||||
# # publish only to devs
|
||||
# if: github.event_name == 'pull_request'
|
||||
# runs-on: ubuntu-latest
|
||||
# name: Dev-Publish
|
||||
# needs: [KiCad_Hardware]
|
||||
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: Board-Hardware
|
||||
# steps:
|
||||
# - uses: actions/download-artifact@v2
|
||||
# with:
|
||||
# name: Board-Hardware
|
||||
|
||||
- name: Upload KiCAD Artifacts
|
||||
uses: edunad/actions-image@v2.0.3
|
||||
with:
|
||||
path: "*-3D_top.png"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
title: "PCB"
|
||||
# - name: Upload KiCAD Artifacts
|
||||
# uses: edunad/actions-image@v2.0.3
|
||||
# with:
|
||||
# path: "*-3D_top.png"
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# title: "PCB"
|
||||
|
||||
publish:
|
||||
# Only run on tags
|
||||
|
|
Loading…
Reference in New Issue