Skip to content

Commit b55b393

Browse files
committed
add new github actions wk2.yml
1 parent 2172008 commit b55b393

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/wf1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: dart format .
2323

2424
- name: Generate files @Freezed
25-
run: dart run build_runner build --delete-conflicting-outputs
25+
run: dart run build_runner build --delete-conflicting-outputs

.github/workflows/wf2.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: WorkFlows 2
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
release:
9+
if: startsWith(github.ref, 'refs/tags/')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Build Changelog
13+
id: github_release
14+
uses: mikepenz/release-changelog-builder-action@v1
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Create Release
19+
uses: actions/create-release@v1
20+
with:
21+
tag_name: ${{ github.ref }}
22+
release_name: ${{ github.ref }}
23+
body: ${{steps.github_release.outputs.changelog}}
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)