Skip to content

fix: blender の install を sudo で実行するように修正 #2

fix: blender の install を sudo で実行するように修正

fix: blender の install を sudo で実行するように修正 #2

Workflow file for this run

name: Generate Picture and Push to output branch
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y blender
- name: Generate Picture
run: blender -b -P add.py
- name: Commit and push to output branch
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git checkout -b output
git add output.png
git commit -m "Add output.png"
git push origin output