-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (35 loc) · 999 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
34
35
36
37
38
39
name: Release
on:
push:
tags:
- '*.*.*'
jobs:
release:
name: Release
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'tezos-unity-sdk.zip'
exclusions: '*.git* *.github*'
- name: Parse changelog
id: changelog
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.changelog.outputs.version }}
tag_name: ${{ github.ref_name }}
body: |
## ${{ steps.changelog.outputs.date }}
${{ steps.changelog.outputs.changes }}
prerelease: ${{ steps.changelog.outputs.status == 'prereleased' }}
files: 'tezos-unity-sdk.zip'