-
-
Notifications
You must be signed in to change notification settings - Fork 229
35 lines (27 loc) · 877 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
# Build, run tests and create a new release
name: release
# Controls when the action will run. Triggers the workflow on push with a release tag
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Reuse the workflow to build and test the library
#build-and-test:
# uses: ./.github/workflows/build-and-test.yml
# Create a new release
create-release:
name: create-release
runs-on: ubuntu-latest
#needs: [build-and-test]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create Release
uses: docker://antonyurchenko/git-release:v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: "true"
PRE_RELEASE: "false"
ALLOW_EMPTY_CHANGELOG: "false"