-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (28 loc) · 764 Bytes
/
Copy pathrelease.yml
File metadata and controls
34 lines (28 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build and Create Draft Release
on:
push:
tags:
- 'v*'
# Cancel in-progress runs when a new workflow with the same group is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-draft-release:
runs-on: macos-latest
permissions:
contents: write
discussions: write
steps:
- uses: actions/checkout@v5
- uses: BradyAJohnston/setup-blender@v5
with:
version: 4.5
- name: Build Extension
run: |
blender -b -P build.py
- name: Create Draft Release
run: |
gh release create ${{ github.ref_name }} --draft --generate-notes *.zip
env:
GITHUB_TOKEN: ${{ github.token }}