Update test.yml

This commit is contained in:
Bob 2021-08-02 17:48:51 -04:00
parent 4c8b460823
commit 7686e1d589
1 changed files with 12 additions and 8 deletions

View File

@ -32,11 +32,15 @@ jobs:
- run: touch tests/empty.scad - run: touch tests/empty.scad
- run: 'openscad -o "tests/output/test.stl" "tests/test.scad"' - run: 'openscad -o "tests/output/test.stl" "tests/test.scad"'
- run: echo "differencing new fixtures from old fixtures..." - run: echo "differencing new fixtures from old fixtures..."
- run: openscad tests/empty.scad -D 'difference(){import("test.stl");import("output/test.stl");}' -o output.stl - run: openscad tests/empty.scad -D 'color(0.5,0,0,0.5)import("test.stl");color(0,0.5,0,0.5)import("output/test.stl");}' -o output.png
- run: du -B=1 output.stl # - run: du -B 1 output.stl
- run: | - uses: actions/upload-artifact@v2
git config --global user.name 'KeyV2 GHA Bot' with:
git config --global user.email 'keyv2-gha-bot@users.noreply.github.com' name: test-output
git add -A path: output.png
git commit -m "Update test stls" # - run: |
git push # git config --global user.name 'KeyV2 GHA Bot'
# git config --global user.email 'keyv2-gha-bot@users.noreply.github.com'
# git add -A
# git commit -m "Update test stls"
# git push