2021-08-03 06:05:19 +10:00
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
|
|
|
name: CI
|
|
|
|
|
|
|
|
# Controls when the workflow will run
|
2021-08-03 06:08:38 +10:00
|
|
|
on:
|
2021-08-03 06:05:19 +10:00
|
|
|
push:
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
|
|
jobs:
|
|
|
|
# This workflow contains a single job called "build"
|
|
|
|
build:
|
|
|
|
# The type of runner that the job will run on
|
2021-08-03 06:08:38 +10:00
|
|
|
runs-on: ubuntu-latest
|
2021-08-03 06:05:19 +10:00
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
|
|
steps:
|
2021-08-03 06:55:14 +10:00
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
|
|
- uses: actions/checkout@v2
|
2021-08-03 06:08:38 +10:00
|
|
|
- name: Render and build OpenSCAD project
|
|
|
|
uses: flat35hd99/eval-openscad@v0.2
|
2021-08-03 06:26:51 +10:00
|
|
|
with:
|
2021-08-03 06:31:46 +10:00
|
|
|
command: 'openscad -o "tests/test.stl" "tests/test.scad"'
|
2021-08-03 06:55:14 +10:00
|
|
|
- run: |
|
|
|
|
git config --global user.name 'KeyV2 GHA Bot'
|
|
|
|
git config --global user.email 'keyv2-gha-bot@users.noreply.github.com'
|
|
|
|
git commit -am "Update test stls"
|
|
|
|
git push
|