-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 912 Bytes
/
tag.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
name: Releases
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Echo GITHUB_REF
run: echo $GITHUB_REF
- name: Tar text folder
run: tar -czf text.tar.gz text
- name: Publish release
id: release
uses: ncipollo/release-action@ncipollo/135/auto-release-notes
with:
allowUpdates: true
artifactErrorsFailBuild: false
artifacts: images,images/*.png,text/*.txt,text.tar.gz
artifactContentType: "raw"
bodyFile: "body.md"
discussionCategory: "Release"
draft: false
generateReleaseNotes: true
prerelease: false
replacesArtifacts: true
- name: Dump Release Outputs
env:
RELEASE_OUTPUT: ${{ toJson(steps.release.outputs) }}
run: echo "$RELEASE_OUTPUT"