Skip to content

Update file from lib3mf #1

Update file from lib3mf

Update file from lib3mf #1

Workflow file for this run

name: Update file from lib3mf
on:
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install unzip
run: sudo apt-get install unzip
- name: Download release asset
run: |
curl -s https://api.github.com/repos/3MFConsortium/lib3mf/releases/tags/v2.2.0 \
| grep "lib3mf_sdk_v2.2.0.*zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
- name: Unzip release asset
run: "lib3mf_sdk_v2.2.0.zip"
- name: Commit and push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add Bindings/Python/Lib3MF.py
git commit -m "Update file from lib3mf" -a
git push