forked from intel/compile-time-init-build
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (25 loc) · 779 Bytes
/
release.yml
File metadata and controls
33 lines (25 loc) · 779 Bytes
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
name: Release
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
env:
BUILD_TYPE: Debug
jobs:
release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target release_header
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{github.workspace}}/build/include/cib/cib.hpp
generate_release_notes: true
draft: true