-
Notifications
You must be signed in to change notification settings - Fork 19
40 lines (39 loc) · 1.26 KB
/
create_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
name: Create Release
on:
push:
tags:
- 'v?[0-9]+.[0-9]+.[0-9]+-?[a-zA-Z0-9]*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo and submodules
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Build Firmware
uses: ./.github/actions/build
with:
BUILD_WRAPPER_OUT_DIR: build_wrapper_out_dir
- name: Create release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
commit: ${{ github.sha }}
body: "" # release message, alternative to body_path
# body_path: release_text.md # uncomment if not used
draft: ${{ startsWith(github.ref_name,'test')}}
prerelease: false
allowUpdates: true
artifacts: build/*.hex
replacesArtifacts: true
- name: Deploy source code documentation to pages
uses: DenverCoder1/doxygen-github-pages-action@v1.3.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: doc
config_file: Doxyfile