-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 938 Bytes
/
semantic-release.yml
File metadata and controls
41 lines (38 loc) · 938 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
36
37
38
39
40
41
name: Semantic Release
on:
push:
branches:
- main
- next
jobs:
build:
name: Build and test package 📦
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: make setup
- name: Build a binary wheel and a source tarball
run: make build
- name: Test the package before release
run: make test
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
needs:
- build
steps:
- uses: actions/checkout@v3
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
git_committer_name: jonaslagoni
git_committer_email: jonas-lt@live.dk