FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
agent-framework/.github/workflows/python-release.yml at main · alliscode/agent-framework · GitHub
alliscode
/
agent-framework
Public
forked from
microsoft/agent-framework
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
agent-framework
/
.github
/
workflows
/
python-release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
62 lines (56 loc) · 2 KB
Breadcrumbs
agent-framework
/
.github
/
workflows
/
python-release.yml
Copy path
File metadata and controls
62 lines (56 loc) · 2 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name
:
Python - Build Release Assets
on
:
release
:
types
:
[published]
permissions
:
contents
:
write
id-token
:
write
env
:
#
Configure a constant location for the uv cache
UV_CACHE_DIR
:
/tmp/.uv-cache
jobs
:
python-build-assets
:
if
:
github.event_name == 'release' && startsWith(github.event.release.tag_name, 'python-')
name
:
Python Build Assets and add to Release
runs-on
:
ubuntu-latest
environment
:
"
integration
"
env
:
UV_PYTHON
:
"
3.13
"
defaults
:
run
:
working-directory
:
python
steps
:
-
uses
:
actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
#
v6
-
name
:
Set up python and install the project
id
:
python-setup
uses
:
./.github/actions/python-setup
with
:
python-version
:
${{ matrix.python-version }}
os
:
${{ runner.os }}
env
:
#
Configure a constant location for the uv cache
UV_CACHE_DIR
:
/tmp/.uv-cache
-
name
:
Set environment variables
run
:
|
# Extract package name from tag (format: python-<package>-<version>)
TAG="${{ github.event.release.tag_name }}"
PACKAGE=$(echo "$TAG" | sed 's/^python-\([^-]*\)-.*$/\1/')
# Validate package exists
if [[ ! -d "packages/$PACKAGE" ]]; then
echo "Error: Package '$PACKAGE' not found in packages/ directory"
echo "Available packages: $(ls packages/)"
exit 1
fi
echo "PACKAGE=$PACKAGE" >> $GITHUB_ENV
echo "Building package: $PACKAGE"
-
name
:
Check version
run
:
|
echo "Building and uploading Python package version: ${{ github.event.release.tag_name }}"
echo "Package directory: packages/${{ env.PACKAGE }}"
-
name
:
Build the package
run
:
uv run poe --directory packages/${{ env.PACKAGE }} build
-
name
:
Release
uses
:
softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b
#
v3.0.1
with
:
files
:
|
python/dist/*
Back
|
FazBrowse Home
|
New Git URL