-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (39 loc) · 1.07 KB
/
release.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
31
32
33
34
35
36
37
38
39
40
41
name: Release
on:
workflow_dispatch: {}
push:
tags:
- "v*.*.*"
#- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
# Skip running release workflow on forks
if: github.repository_owner == 'scalefactory'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
#- name: Release
# uses: softprops/action-gh-release@v1
- name: Generate changelog
id: changelog
uses: metcalfc/[email protected]
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
id: create_release
#uses: actions/create-release@latest
uses: softprops/action-gh-release@v1
#env:
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
#tag_name: ${{ github.ref }}
#release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }}
#generate_release_notes: true
draft: false
prerelease: false