-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (41 loc) · 986 Bytes
/
tag.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build on Tag
on:
push:
tags:
- 'v*'
# branches:
# - main
jobs:
macos:
strategy:
matrix:
os: [ macos-13, macos-latest ]
uses: ./.github/workflows/_build-macos.yaml
with:
os: ${{ matrix.os }}
windows:
uses: ./.github/workflows/_build-windows.yaml
# linux:
# uses: ./.github/workflows/_build-linux.yaml
release:
name: "Release"
runs-on: ubuntu-latest
needs:
- macos
- windows
if: always() && !cancelled() && !contains(needs.*.result, 'failure')
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: release
merge-multiple: true
- name: Display structure of downloaded files
run: ls -R release
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
files: |
release/*
generate_release_notes: true