Blender 4.0 fixes (#88) #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs on every pushed version tags. It runs the tests and | |
# packages the release. It then creates a new entry in the release section | |
# of the repo. | |
name: Release | |
# Triggers the workflow on tags with a specific format | |
on: | |
push: | |
tags: | |
- v* | |
# Workflow steps | |
jobs: | |
tests: | |
uses: ./.github/workflows/test.yml | |
package: | |
name: "Package Release" | |
needs: [tests] | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Query Git Tag | |
id: git-tag | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Setup Python | |
uses: "actions/setup-python@v2" | |
- name: Create package | |
run: python release/package.py | |
- name: Create GitHub draft release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "mitsuba-blender.zip" | |
artifactErrorsFailBuild: true | |
bodyFile: "release/release_body_template.md" | |
draft: true | |
name: "Mitsuba-Blender ${{ steps.git-tag.outputs.tag }}" |