-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (35 loc) · 910 Bytes
/
release.yml
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
name: Release
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-alpha\.?[0-9]*
jobs:
build:
uses: ./.github/workflows/action-build.yml
with:
name: fontfor
profile: release
release:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Generate release note
id: tag
uses: ffurrer2/extract-release-notes@v2
with:
release_notes_file: RELEASE_NOTES.md
- name: Check release note
run: |
cat RELEASE_NOTES.md
- name: Download Linux binary from artifact
uses: actions/download-artifact@v3
- name: Release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.tag.outputs.release_notes }}
draft: false
prerelease: false
files: fontfor-*/fontfor*