mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
839 B
YAML
35 lines
839 B
YAML
3 years ago
|
name: 'release'
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- '*'
|
||
|
|
||
|
jobs:
|
||
|
release:
|
||
|
if: startsWith(github.ref, 'refs/tags/')
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Prep Config
|
||
|
run: .github/prep-changelog-config.sh
|
||
|
|
||
|
- name: Build Changelog
|
||
|
id: github_release
|
||
|
uses: mikepenz/release-changelog-builder-action@v2
|
||
|
with:
|
||
|
configuration: ".github/changelog-config.json"
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|
||
|
- name: Create Release
|
||
|
uses: actions/create-release@v1
|
||
|
with:
|
||
|
tag_name: ${{ github.ref }}
|
||
|
release_name: ${{ github.ref }}
|
||
|
body: ${{steps.github_release.outputs.changelog}}
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|