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