Skip to content

Commit d500497

Browse files
committed
Add GitHub Actions for release and update test workflow
- Introduced `release.yml` to automate PyPI releases 📦 - Updated `test.yml` workflow name for consistency 🧪
1 parent 68496f3 commit d500497

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 📦 Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
environment:
12+
name: pypi
13+
url: https://pypi.org/p/brent-search
14+
permissions:
15+
id-token: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Build
19+
run: pipx run build
20+
- name: Publish
21+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🧪 Testing
1+
name: 🧪 Test
22

33
on: push
44

0 commit comments

Comments
 (0)