File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Labelbox Python SDK Publish PROD Test
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ tag :
7
+ description : ' Release Tag'
8
+ required : true
9
+ skip-tests :
10
+ description : ' Skip PROD Test (Do not do this unless there is an emergency)'
11
+ default : false
12
+ type : boolean
13
+
14
+
15
+ concurrency :
16
+ group : ${{ github.workflow }}
17
+ cancel-in-progress : false
18
+
19
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
20
+ permissions :
21
+ contents : read
22
+ pages : write
23
+ id-token : write
24
+
25
+ jobs :
26
+ build :
27
+ runs-on : ubuntu-latest
28
+ outputs :
29
+ hashes : ${{ steps.hash.outputs.hashes }}
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+ with :
33
+ ref : ${{ inputs.tag }}
34
+ - name : Install the latest version of rye
35
+ uses : eifinger/setup-rye@v2
36
+ with :
37
+ version : ${{ vars.RYE_VERSION }}
38
+ enable-cache : true
39
+ - name : Rye Setup
40
+ run : |
41
+ rye config --set-bool behavior.use-uv=true
42
+ - name : Create build
43
+ working-directory : libs/labelbox
44
+ run : |
45
+ rye sync
46
+ rye build
47
+ - name : " Generate hashes"
48
+ id : hash
49
+ run : |
50
+ cd dist && echo "hashes=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
51
+ - uses : actions/upload-artifact@v4
52
+ with :
53
+ name : build
54
+ path : ./dist
You can’t perform that action at this time.
0 commit comments