1
1
name : LBox Publish
2
2
3
3
on :
4
- workflow_dispatch :
5
- inputs :
6
- tag :
7
- description : ' Release Tag'
8
- required : true
9
- default : ' v6.0.0'
4
+ pull_request :
5
+ branches : [develop]
6
+ # workflow_dispatch:
7
+ # inputs:
8
+ # tag:
9
+ # description: 'Release Tag'
10
+ # required: true
11
+ # default: 'v6.0.0'
10
12
11
13
concurrency :
12
14
group : ${{ github.workflow }}-${{ github.ref }}
@@ -19,13 +21,14 @@ jobs:
19
21
path-filter :
20
22
runs-on : ubuntu-latest
21
23
outputs :
22
- lbox : ${{ steps.filter.outputs.lbox }}
24
+ lbox : ${{ true }}
23
25
test-matrix : ${{ steps.matrix.outputs.test-matrix }}
24
26
package-matrix : ${{ steps.matrix.outputs.publish-matrix }}
25
27
steps :
26
28
- uses : actions/checkout@v4
27
29
with :
28
- ref : ${{ github.head_ref }}
30
+ # ref: ${{ inputs.tag }}
31
+ ref : v.5.2.0
29
32
- uses : dorny/paths-filter@v3
30
33
id : filter
31
34
with :
47
50
steps :
48
51
- uses : actions/checkout@v4
49
52
with :
50
- ref : ${{ inputs.tag }}
53
+ # ref: ${{ inputs.tag }}
54
+ ref : v.5.2.0
51
55
- name : Install the latest version of rye
52
56
uses : eifinger/setup-rye@v2
53
57
with :
80
84
- uses : actions/checkout@v4
81
85
with :
82
86
token : ${{ secrets.ACTIONS_ACCESS_TOKEN }}
83
- ref : ${{ inputs.tag }}
87
+ # ref: ${{ inputs.tag }}
88
+ ref : v.5.2.0
84
89
- uses : ./.github/actions/python-package-shared-setup
85
90
with :
86
91
rye-version : ${{ vars.RYE_VERSION }}
@@ -135,7 +140,8 @@ jobs:
135
140
steps :
136
141
- uses : actions/checkout@v4
137
142
with :
138
- ref : ${{ inputs.tag }}
143
+ # ref: ${{ inputs.tag }}
144
+ ref : v.5.2.0
139
145
- name : Set up Docker Buildx
140
146
uses : docker/setup-buildx-action@v3
141
147
- name : Log in to the Container registry
@@ -157,9 +163,9 @@ jobs:
157
163
linux/arm64
158
164
tags : |
159
165
ghcr.io/labelbox/${{ matrix.package }}:latest
160
- ghcr.io/labelbox/${{ matrix.package }}:${{ inputs.tag }}
166
+ ghcr.io/labelbox/${{ matrix.package }}:v.5.2.0
161
167
- name : Output image
162
168
id : image
163
169
run : |
164
170
echo "ghcr.io/labelbox/${{ matrix.package }}:latest" >> "$GITHUB_STEP_SUMMARY"
165
- echo "ghcr.io/labelbox/${{ matrix.package }}:${{ github.sha }} " >> "$GITHUB_STEP_SUMMARY"
171
+ echo "ghcr.io/labelbox/${{ matrix.package }}:v.5.2.0 " >> "$GITHUB_STEP_SUMMARY"
0 commit comments