Skip to content

Commit f0b4f0a

Browse files
committed
[skip ci] list artifacts and download by name
1 parent 8e653eb commit f0b4f0a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/assertion.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ jobs:
6868
if: ${{ inputs.runId != '' }}
6969
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
7070
with:
71-
github-token: ${{ github.token }}
7271
run-id: ${{ inputs.runId }}
72+
github-token: ${{ github.token }}
73+
name: nginx-agent-binaries-${{ inputs.packageVersion }}-${{ matrix.osarch }}
74+
path: binaries
7375

7476
- name: Gather build dependencies
7577
id: godeps

.github/workflows/release-branch.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,6 @@ jobs:
244244
VERSION: ${{ env.VERSION }}
245245
PACKAGE_BUILD: ${{ inputs.packageBuildNo }}
246246
run: |
247-
echo "Run ID: ${{ github.run_id }}"
248-
echo "Run Number: ${{ github.run_number }}"
249247
export PATH=$PATH:~/go/bin
250248
echo "$GPG_KEY" | base64 --decode > ${NFPM_SIGNING_KEY_FILE}
251249
make package
@@ -271,6 +269,15 @@ jobs:
271269
build/arm64/nginx-agent.buildstart
272270
build/arm64/nginx-agent.buildend
273271
272+
- name: List artifacts
273+
run: |
274+
echo "Run ID: ${{ github.run_id }}"
275+
echo "Run Number: ${{ github.run_number }}"
276+
echo "nginx-agent-binaries-${{ inputs.packageVersion }}-arm64"
277+
find build/arm64 -type f -name "nginx-agent*"
278+
echo "nginx-agent-binaries-${{ inputs.packageVersion }}-amd64"
279+
find build/amd64 -type f -name "nginx-agent*"
280+
274281
- name: Install GPG tools
275282
if: ${{ inputs.publishPackages == true }}
276283
run: |

0 commit comments

Comments
 (0)