Skip to content

Commit eed878c

Browse files
committed
Test release
1 parent d684ad1 commit eed878c

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

.github/workflows/Release.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
name: Create release
21

3-
# When a tag is pushed, create a release
4-
on:
5-
push:
6-
tags:
7-
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
8-
9-
jobs:
10-
build:
11-
name: Create Release
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@master
16-
with:
17-
fetch-depth: 0 # Fetch all tags
18-
19-
- name: Create Release for Tag
20-
id: release_tag
21-
uses: Akryum/release-tag@conventional
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
with:
25-
tag_name: ${{ github.ref }}
26-
preset: angular # Use conventional-changelog preset

.github/workflows/build.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@ jobs:
2626
with:
2727
name: LinuxOutput
2828
path: bin/
29-
if-no-files-found: error
29+
if-no-files-found: error
30+
- name: Release
31+
uses: softprops/action-gh-release@v1
32+
if: startsWith(github.ref, 'refs/tags/')
33+
with:
34+
files: bin/*
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3037
MacOS:
3138
runs-on: macOS-latest
3239
steps:
@@ -47,7 +54,14 @@ jobs:
4754
with:
4855
name: MacOutput
4956
path: bin/
50-
if-no-files-found: error
57+
if-no-files-found: error
58+
- name: Release
59+
uses: softprops/action-gh-release@v1
60+
if: startsWith(github.ref, 'refs/tags/')
61+
with:
62+
files: bin/*
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5165

5266
iOS:
5367
runs-on: macOS-latest
@@ -69,7 +83,14 @@ jobs:
6983
with:
7084
name: IOSOutput
7185
path: bin/
72-
if-no-files-found: error
86+
if-no-files-found: error
87+
- name: Release
88+
uses: softprops/action-gh-release@v1
89+
if: startsWith(github.ref, 'refs/tags/')
90+
with:
91+
files: bin/*
92+
env:
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7394

7495
Windows:
7596
runs-on: windows-2019
@@ -99,5 +120,12 @@ jobs:
99120
with:
100121
name: WindowsOutput
101122
path: bin/
102-
if-no-files-found: error
123+
if-no-files-found: error
124+
- name: Release
125+
uses: softprops/action-gh-release@v1
126+
if: startsWith(github.ref, 'refs/tags/')
127+
with:
128+
files: bin/*
129+
env:
130+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103131

0 commit comments

Comments
 (0)