File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 31
31
type : string
32
32
required : true
33
33
34
+ env :
35
+ RELEASE_CANDIDATE : " ${{ github.event.inputs.version }}${{ github.event.inputs.rc }}"
36
+
34
37
jobs :
35
38
validate-inputs :
36
39
runs-on : ubuntu-latest
52
55
53
56
- name : Echo Release Candidate Version
54
57
run : |
55
- echo "Running Release Candidate Version: ${{ github.event.inputs.version }}${{ github.event.inputs.rc }} "
58
+ echo "Running Release Candidate Version: $RELEASE_CANDIDATE "
56
59
57
60
validate-library-version :
58
61
runs-on : ubuntu-latest
@@ -207,7 +210,7 @@ jobs:
207
210
- name : Merge Artifacts
208
211
uses : actions/upload-artifact/merge@v4
209
212
with :
210
- name : " svn-release-candidate-${{ github.event.inputs.version }}${{ github.event.inputs.rc }}"
213
+ name : " svn-release-candidate-${{ env.RELEASE_CANDIDATE }}"
211
214
pattern : svn-release-candidate*
212
215
delete-merged : true
213
216
@@ -239,7 +242,7 @@ jobs:
239
242
run : pip install poetry
240
243
241
244
- name : Set version with RC
242
- run : python -m poetry version "${{ github.event.inputs.version }}${{ github.event.inputs.rc }}"
245
+ run : python -m poetry version "${{ env.RELEASE_CANDIDATE }}"
243
246
244
247
# Publish the source distribution with the version that's in
245
248
# the repository, otherwise the tests will fail
@@ -282,6 +285,6 @@ jobs:
282
285
- name : Merge Artifacts
283
286
uses : actions/upload-artifact/merge@v4
284
287
with :
285
- name : " pypi-release-candidate-${{ github.event.inputs.version }}${{ github.event.inputs.rc }}"
288
+ name : " pypi-release-candidate-${{ env.RELEASE_CANDIDATE }}"
286
289
pattern : pypi-release-candidate*
287
290
delete-merged : true
You can’t perform that action at this time.
0 commit comments