Skip to content

Commit

Permalink
use sha
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Dec 10, 2024
1 parent 3b36bd4 commit 8af1fe3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [completed]
workflow_dispatch:
inputs:
run_id:
run_sha:
description: "Run id from which artifacts are taken"
required: true

Expand All @@ -19,9 +19,9 @@ jobs:
id: retrieve-run-id
run: |
if [[ -n "${{ github.event_name == 'workflow_dispatch' }}" ]]; then
echo "run_id=${{ github.event.inputs.run_id }}" >> $GITHUB_OUTPUT
echo "run_sha=${{ github.event.inputs.run_sha }}" >> $GITHUB_OUTPUT
else
echo "run_id=${{ github.event.workflow_run.id }}" >> $GITHUB_OUTPUT
echo "run_sha=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_OUTPUT
fi
- name: Recognize sha ref
id: sharef
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Download build artifact from triggered workflow
uses: dawidd6/action-download-artifact@v7
with:
run_id: ${{ steps.retrieve-run-id.outputs.run_id }}
commit: ${{ steps.retrieve-run-id.outputs.run_sha }}
name: binaries
path: target/release
allow_forks: true
Expand Down

0 comments on commit 8af1fe3

Please sign in to comment.