-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 792 Bytes
/
cd.yml
File metadata and controls
35 lines (29 loc) · 792 Bytes
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: Std CD
on:
push:
tags:
- "v*.*.*"
concurrency:
group: std-cd-${{ github.workflow }}-${{ github.ref_type }}
cancel-in-progress: false
permissions:
contents: write
packages: write
id-token: write
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make lint
- run: make test
- run: ./scripts/ci-quality-no-uncommitted-files.sh
- run: gh config set prompt disabled
env:
GH_TOKEN: ${{ github.token }}
- name: Perform Tag Release
run: |
gh release create ${{ github.ref_name }} --draft=false --title ${{ github.ref_name }} --target "$GITHUB_SHA" --generate-notes
if: github.ref_type == 'tag'
env:
GH_TOKEN: ${{ github.token }}