-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.06 KB
/
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
36
37
38
39
40
41
42
43
name: Releases
on:
push:
tags:
- '*'
- '*/*'
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v1
- name: Tar text folder
run: tar -czf text.tar.gz text
- name: Publish release
id: release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifactErrorsFailBuild: false
artifacts: |
${{ github.workspace }}/images/*.png
${{ github.workspace }}/text/*.txt
text.tar.gz
artifactContentType: "raw"
bodyFile: "body.md"
discussionCategory: "Release"
draft: false
generateReleaseNotes: true
makeLatest: true
name: Bump Release
prerelease: false
replacesArtifacts: true
omitDraftDuringUpdate: true
skipIfReleaseExists: false
- name: Dump Release Outputs
env:
RELEASE_OUTPUT: ${{ toJson(steps.release.outputs) }}
run: echo "$RELEASE_OUTPUT"