-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (41 loc) · 1.19 KB
/
build.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
name: Continuous Integration
on:
push:
branches:
- main
- pre-*
jobs:
build:
name: export pdf And bump version
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Generate PDF from presentation
run: |
make export-pdf
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 22.0.12
extra_plugins: |
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/changelog
@semantic-release/github
@semantic-release/exec
@semantic-release/git
conventional-changelog-conventionalcommits
env:
GH_TOKEN: ${{ secrets.CI_TOKEN }}
- name: store output next version
id: next_version
run: |
echo "NEXT_VERSION=`git describe --tags --abbrev=0`" >> $GITHUB_OUTPUT
- name: read next version
run: |
echo ${{ steps.next_version.outputs.NEXT_VERSION }}