diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea70c8c..4a499b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,11 +32,15 @@ jobs: - run: touch tests/empty.scad - run: 'openscad -o "tests/output/test.stl" "tests/test.scad"' - 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: du -B=1 output.stl - - run: | - 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 + - 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 + - uses: actions/upload-artifact@v2 + with: + name: test-output + path: output.png + # - run: | + # 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