Skip to content

Commit 954cc08

Browse files
committed
setup release action
1 parent e73301c commit 954cc08

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release on JFrog
2+
on:
3+
push:
4+
tags:
5+
- "v*"
6+
7+
jobs:
8+
documentation:
9+
name: Publish package to JFrog
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v3
17+
with:
18+
# Install a specific version of uv.
19+
version: "0.5.1"
20+
enable-cache: true
21+
cache-dependency-glob: "uv.lock"
22+
- name: Install dependencies
23+
run: uv sync
24+
- name: Build
25+
run: uv build
26+
- name: Publish
27+
run: uv publish --check-url ${{JFROG_KIRIN_URL}} --username ${{JFROG_USERNAME}} --password ${{JFROG_PASSWORD}}

0 commit comments

Comments
 (0)