mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-02 22:16:06 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
845 B
YAML
41 lines
845 B
YAML
name: Release
|
|
|
|
on :
|
|
push:
|
|
tags:
|
|
- 'v[0-9]+.[0-9]+.[0-9]+*'
|
|
|
|
jobs:
|
|
test :
|
|
uses: ./.github/workflows/test.yml
|
|
|
|
release:
|
|
name : Create Release
|
|
|
|
concurrency: github-release
|
|
|
|
environment:
|
|
name: release
|
|
url : https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}
|
|
|
|
runs-on : ubuntu-latest
|
|
|
|
needs :
|
|
- test
|
|
|
|
steps :
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Changelog
|
|
uses: ardalanamini/auto-changelog@master
|
|
id : changelog
|
|
|
|
- name: Create Release
|
|
uses: softprops/action-gh-release@v1
|
|
env :
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
body : |
|
|
${{ steps.changelog.outputs.changelog }}
|
|
prerelease: ${{ steps.changelog.outputs.prerelease }}
|