Skip to content

Commit e417c3f

Browse files
committed
Test2
1 parent 55e957b commit e417c3f

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/reusable-build-debian-pkg.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ name: Build debian package
33
on:
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
@@ -40,6 +53,9 @@ jobs:
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

.github/workflows/testing-release-gorelease-bkp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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+

0 commit comments

Comments
 (0)