Skip to content

Commit

Permalink
Merge branch 'main' of github.com:jakkra/ZSWatch-HW into 2.0.5_Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampi committed Jul 20, 2024
2 parents 28bb492 + 8b6ea7d commit a6725eb
Show file tree
Hide file tree
Showing 13 changed files with 247,548 additions and 246,254 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Build

on:
push:
pull_request:
pull_request_target:
types:
- closed

jobs:
build:
Expand All @@ -23,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: .
submodules: recursive
Expand Down Expand Up @@ -53,22 +54,24 @@ jobs:
- name: Initialize
run: |
mkdir -p docs/images/
mkdir production
mkdir -p production
- name: Generate files
run: |
cd project
kibot -g variant=${{ matrix.device_type }} -d ../production/${{ matrix.device_type }}
mkdir ../production/${{ matrix.device_type }}/ordering
mv ../production/PCBWay ../production/${{ matrix.device_type }}/ordering/PCBWay
- name: Upload Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.device_type }}
path: |
production
if-no-files-found: ignore

- if: ${{ matrix.NewImage }}
- if: ${{ matrix.NewImage && (github.event.pull_request.merged == true) }}
name: Update image
run: |
git config --local user.name "github-actions[bot]"
Expand All @@ -78,4 +81,4 @@ jobs:
git commit -m "Add image from CI/CD action"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
echo https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git push origin ${{ steps.extract_branch.outputs.branch }}
git push origin ${{ github.base_ref }}
Empty file removed .gitignore
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ZSWatch Hardware

[![License](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://opensource.org/license/gpl-3-0/)
![Badge](https://github.com/kampi/zswatch-hw/actions/workflows/build.yml/badge.svg?color=yellow)
![Badge](https://github.com/jakkra/zswatch-hw/actions/workflows/build.yml/badge.svg?color=yellow)

## Table of Contents

Expand Down
Binary file modified cad/case/bottom.stl
Binary file not shown.
Binary file removed cad/case/inner_holder_no_support.stl
Binary file not shown.
Binary file not shown.
Binary file not shown.
493,783 changes: 247,537 additions & 246,246 deletions cad/case/watch_body_r3_pcb v123.step → cad/case/watch_body_r3_pcb v136.step

Large diffs are not rendered by default.

Binary file added docs/images/Image_Complete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added production/PCBWay/Assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added production/PCBWay/Layers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added production/PCBWay/PCB Specification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added production/PCBWay/Upload files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6725eb

Please sign in to comment.