File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,16 @@ name: "Build"
33on :
44 workflow_call :
55
6+ outputs :
7+ artifact-name :
8+ description : " artifacts name"
9+ value : ${{ jobs.build.outputs.artifact-name }}
10+
611jobs :
712 build :
813 runs-on : ubuntu-24.04
14+ outputs :
15+ artifact-name : ${{ steps.upload.outputs.name }}
916 steps :
1017 - name : Checkout
1118 uses : actions/checkout@v6
2330 mkdir -p artifacts
2431 cp -r _build/example-solution-*.iso _build/SHA256SUM artifacts
2532 - uses : scality/action-artifacts@v4
33+ id : upload
2634 with :
2735 url : https://artifacts.scality.net
2836 user : ${{ secrets.ARTIFACTS_USER }}
Original file line number Diff line number Diff line change 2525 with :
2626 method : promote
2727 url : https://artifacts.scality.net
28+ name : ${{ needs.build.outputs.artifact-name }}
2829 tag : ${{ github.ref_name }}
2930 user : ${{ secrets.ARTIFACTS_USER }}
3031 password : ${{ secrets.ARTIFACTS_PASSWORD }}
You can’t perform that action at this time.
0 commit comments