-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (49 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
name: Release
on:
push:
tags: '[2-9][0-9]\.[0-9][0-9]'
jobs:
create-release:
name: Create release
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- name: Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
mode: "COMMIT"
configurationJson: |
{
"pr_template": "- #{{TITLE}}",
"template": "#{{UNCATEGORIZED}}",
"tag_resolver": {
"method": "sort",
"filter": {
"pattern": "[2-9][0-9]\\.[0-9][0-9]",
"method": "match"
}
}
}
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y raptor2-utils
- name: Build
id: build
run: |
scripts/combine | tee $GITHUB_STEP_SUMMARY
echo 'summary<<EOF' >> $GITHUB_OUTPUT
cat ${GITHUB_STEP_SUMMARY} >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v2
with:
body: |
${{ steps.build.outputs.summary }}
${{ steps.changelog.outputs.changelog }}
files: |
dist/snik.nt
dist/snik.ttl