File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed
Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ name: Build debian package
33on :
44 workflow_call :
55 inputs :
6- artifact_id :
6+ application :
77 required : true
88 type : string
99 version :
1010 required : true
1111 type : string
12+ arch :
13+ required : false
14+ type : string
1215 secrets :
1316 cf_token :
1417 required : false
@@ -21,11 +24,21 @@ jobs:
2124 runs-on : ubuntu-latest
2225
2326 steps :
24- - name : Download a single artifact
27+ - name : Download arm64 artifact
2528 uses : actions/download-artifact@v4
2629 with :
27- name : ${{ inputs.artifact_id }}
30+ name : ${{ inputs.application }}_${{ inputs.version }}_arm64.tar.gz
2831
32+ - name : Download amd64 artifact
33+ uses : actions/download-artifact@v4
34+ with :
35+ name : ${{ inputs.application }}_${{ inputs.version }}_amd64.tar.gz
36+
37+ - name : Download amd64v2 artifact
38+ uses : actions/download-artifact@v4
39+ with :
40+ name : ${{ inputs.application }}_${{ inputs.version }}_amd64v2.tar.gz
41+
2942 - name : Debug 1
3043 run : |
3144 pwd
4053 # Creating directory structure
4154 - name : making directory structure
4255 run : |
56+ tar xzvf ${{ inputs.application }}_${{ inputs.version }}_amd64.tar.gz
57+ tar xzvf ${{ inputs.application }}_${{ inputs.version }}_amd64v2.tar.gz
58+ tar xzvf ${{ inputs.application }}_${{ inputs.version }}_arm64.tar.gz
4359 mkdir -p packaging/deb/erigon/usr/bin
4460 mkdir -p packaging/deb/erigon/opt/erigon
4561
Original file line number Diff line number Diff line change @@ -249,5 +249,6 @@ jobs:
249249 # timeout-minutes: 10
250250 uses : erigontech/devops-testing-workflows/.github/workflows/reusable-build-debian-pkg.yml@main
251251 with :
252- artifact_id : ${{ needs.build-release.outputs.application }}_${{ inputs.release_version }}_linux_amd64.tar.gz
252+ application : ${{ needs.build-release.outputs.application }}
253253 version : ${{ inputs.release_version }}
254+
You can’t perform that action at this time.
0 commit comments