Skip to content

Commit

Permalink
Test action (#4)
Browse files Browse the repository at this point in the history
* small change

* change

* 😬

* commit email

* fix push

* fix push

* In the realm of scripts and screens, adding a dash of mechanical dreams.

* remove 😬

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Irev-Dev and github-actions[bot] authored Nov 10, 2023
1 parent 1fb3a16 commit 50256d6
Show file tree
Hide file tree
Showing 9 changed files with 3,967 additions and 11 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/output-from-kcl-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,26 @@ jobs:
echo "#### [$fileName](STEP-output-of-samples/$fileName.step)" >> README.md
echo "![$fileName](screenshots-of-samples/$fileName.png)" >> README.md
done
- name: Commit files
- name: check for changes
id: git-check
run: |
git add .
if git status | grep -q "Changes to be committed"
then
echo "::set-output name=modified::true"
else
echo "::set-output name=modified::false"
fi
- name: Commit changes, if any
if: steps.git-check.outputs.modified == 'true'
run: |
git config --local user.email "
git config --local user.name "github-actions[bot]"
git add .
git commit -m "In the realm of scripts and screens, adding a dash of mechanical dreams."
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git fetch origin
echo ${{ github.head_ref }}
git checkout ${{ github.head_ref }}
git commit -am "In the realm of scripts and screens, adding a dash of mechanical dreams." || true
git push
git push origin ${{ github.head_ref }}
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# kcl-samples
KCL sample files
KCL sample files.


---
#### [bracket](STEP-output-of-samples/bracket.step)
![bracket](screenshots-of-samples/bracket.png)
#### [gear](STEP-output-of-samples/gear.step)
![gear](screenshots-of-samples/gear.png)
#### [kitt](STEP-output-of-samples/kitt.step)
![kitt](screenshots-of-samples/kitt.png)
#### [mounting-plate](STEP-output-of-samples/mounting-plate.step)
![mounting-plate](screenshots-of-samples/mounting-plate.png)
2 changes: 1 addition & 1 deletion STEP-output-of-samples/bracket.step
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ISO-10303-21;
HEADER;
FILE_DESCRIPTION((('kittycad.io export')), '2;1');
FILE_NAME('dump.step', '2023-11-10T11:02:26.252243469+00:00', ('Author unknown'), ('Organization unknown'), 'kittycad.io beta', 'kittycad.io', 'Authorization unknown');
FILE_NAME('dump.step', '2023-11-10T11:45:44.656234026+00:00', ('Author unknown'), ('Organization unknown'), 'kittycad.io beta', 'kittycad.io', 'Authorization unknown');
FILE_SCHEMA(('AP203_CONFIGURATION_CONTROLLED_3D_DESIGN_OF_MECHANICAL_PARTS_AND_ASSEMBLIES_MIM_LF'));
ENDSEC;
DATA;
Expand Down
2,181 changes: 2,181 additions & 0 deletions STEP-output-of-samples/gear.step

Large diffs are not rendered by default.

Loading

0 comments on commit 50256d6

Please sign in to comment.