Skip to content

ci: add release workflow #1

ci: add release workflow

ci: add release workflow #1

Workflow file for this run

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: Build Changelog
id: build-changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
commitMode: true
configurationJson: |
{
"pr_template": "- #{{TITLE}}"
}
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y raptor2-utils
# don't validate here because there is a separate SHACL action and there are unvalidated parts of SNIK that would fail the release
- name: Build
run: ./scripts/combine
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v2
with:
body: ${{steps.build-changelog.outputs.changelog}}
files: |
dist/snik.nt
dist/snik.ttl