-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (25 loc) · 1.07 KB
/
old_release_workflow.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
# This action is not really utilized, but I'm keeping it here for posterity
name: Release (this is an outdated GH action) # Workflow name displayed on GitHub
on:
workflow_dispatch: # Trigger manually
branches: main # Branch on which the workflow will run
jobs:
new-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # Checkout our working repository
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
output-file: "false"
- name: Create Release # This action will create the actual release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}