-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.07 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
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@v2
- name: Generate PDF from presentation
run: |
make export-pdf
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 19.0.2
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
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 }}