-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (48 loc) · 1.43 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Test and Release
on:
push:
branches:
main
workflow_dispatch:
permissions:
contents: write
jobs:
spell-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Spellcheck
uses: rojopolis/[email protected]
with:
config_path: .github/spellcheck.yml
build-proof:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Debug files
run: tree
- name: Build proof
uses: anishathalye/[email protected]
with:
directory: ./
semantic-version:
needs: [build-proof, spell-check]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: get tag
id: tag_version
uses: mathieudutour/[email protected]
with:
dry_run: false # useful for debugging workflow when true
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: patch # minor will replace after v1.0.0 because only new application files are added by non-developers
- name: Create a GitHub release
uses: ncipollo/[email protected]
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}