Skip to content

Commit 854df55

Browse files
blubbsyKampi
authored andcommitted
Revert "Merge branch 'main' of https://github.com/blubbsy/ZSWatch-HW"
This reverts commit defd07d, reversing changes made to 67b4a96. i'm idiot. here we go again. i'm an idiot apperently. backup for the builder Update and rename build copy.yml to build2.yml first tryout Update build2.yml rename Update build2.yml updated workflow Update build2.yml minor change Update build2.yml workflow change Update build2.yml bugfix workflow Update build2.yml workflow test Update build2.yml workflow test Update build2.yml workflow test Update build2.yml workflow test Update build2.yml kibot should use the right config Update zswatch.kibot.yaml added subdirectory. Update build2.yml removed whitespace Update build2.yml removed variants Update zswatch.kibot.yaml hopefully set an output dir for each variant Update zswatch.kibot.yaml still with the output... Update zswatch.kibot.yaml reversed changes Update build2.yml reversed changes Update build2.yml added again screenshot stuff. Update build2.yml fixed artifact upload Update build2.yml simplified action Update zswatch.kibot.yaml updated kibot.yaml config Update build2.yml further simplifcation of workflow Update build2.yml test Update build2.yml changed kibot.yaml path Update build2.yml removed cd into project folder Update zswatch.kibot.yaml revert changes Update build2.yml Update build.yml Simplified action to generate files Delete .github/workflows/build2.yml removed this file, because it was just for testing i'm idiot. here we go again. i'm an idiot apperently. Add image from CI/CD action Closes #68 Add image from CI/CD action Add missing schematics changes for level shifter mirroring
1 parent f00c755 commit 854df55

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Build2
22

33
on:
44
workflow_dispatch:
@@ -8,7 +8,8 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
12+
container: ghcr.io/inti-cmnb/kicad8_auto_full:latest
1213

1314
permissions:
1415
contents: write
@@ -31,27 +32,10 @@ jobs:
3132
submodules: recursive
3233

3334
- name: Dependencies
34-
run: |
35-
sudo apt update
36-
37-
wget https://github.com/INTI-CMNB/KiBot/releases/download/v1.7.0/kibot_1.7.0-1_all.deb
38-
sudo apt install ./kibot*_all.deb
39-
40-
wget https://github.com/INTI-CMNB/InteractiveHtmlBom/releases/download/v2.9.0-1/interactivehtmlbom.inti-cmnb_2.9.0-1_all.deb
41-
sudo apt install ./interactivehtmlbom.inti-cmnb*_all.deb
42-
43-
wget https://github.com/INTI-CMNB/KiAuto/releases/download/v2.3.2/kiauto_2.3.2-1_all.deb
44-
sudo apt install ./kiauto*_all.deb
45-
46-
sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
47-
sudo apt install --install-recommends kicad
48-
49-
git clone https://github.com/Kampi/KiCad.git library
35+
run: git clone https://github.com/Kampi/KiCad.git library
5036

5137
- name: Extract branch name
52-
shell: bash
5338
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
54-
id: extract_branch
5539

5640
- name: Initialize
5741
run: |
@@ -69,18 +53,16 @@ jobs:
6953
uses: actions/upload-artifact@v4
7054
with:
7155
name: ${{ matrix.device_type }}
72-
path: |
73-
production
56+
path: production
7457
if-no-files-found: ignore
7558

76-
- if: ${{ matrix.NewImage && (github.event.pull_request.merged == true) }}
77-
name: Update image
59+
- name: Update image
60+
if: ${{ matrix.NewImage && (github.event.pull_request.merged == true) }}
7861
run: |
7962
git config --local user.name "github-actions[bot]"
8063
git config --local user.email "github-actions[bot]@users.noreply.github.com"
8164
cp production/${{ matrix.device_type }}/docs/images/PCB_Rendering.png docs/images/Image_Complete.png
8265
git add docs/images/Image_Complete.png
8366
git commit -m "Add image from CI/CD action"
8467
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
85-
echo https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
8668
git push origin ${{ github.base_ref }}

0 commit comments

Comments
 (0)