-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 905 Bytes
/
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
name: Release
on:
release:
types: [ published ]
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎 Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # [!] we need to checkout with tags and commit history
- name: 📋 Get Commits since last Release
id: changes
uses: simbo/changes-since-last-release-action@v1
- name: 📣 Output collected Data
run: |
echo "Changes since ${{ steps.changes.outputs.last-tag }}:"
echo "${{ steps.changes.outputs.log }}"
- name: 📝Edit Release
uses: irongut/EditRelease@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: ${{ github.event.release.id }}
body: |
Changes since ```${{ steps.changes.outputs.last-tag }}```
${{ steps.changes.outputs.log }}