-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1015 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
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CI_GITHUB_TOKEN }}
- name: Setup Dart
uses: dart-lang/setup-dart@v1
- name: Install dependacies
run: dart pub global activate cider
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
GIT_COMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
GIT_COMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
semantic-release-pub