Skip to content

Commit

Permalink
feat:release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
StarTrooper08 committed Feb 19, 2024
1 parent 1c6b050 commit 205af58
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
name: Releases
name: Release project
on:
push:
branches:
- main
workflow_dispatch:

jobs:
changelog:
release:
name: Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v3

- name: conventional Changelog Action
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.CHANGELOG_RELEASE }}

- name: create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
- name: Release
uses: huggingface/semver-release-action@latest

0 comments on commit 205af58

Please sign in to comment.