Skip to content

Commit

Permalink
get ref as input
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Oct 16, 2024
1 parent e3f40d4 commit f84cbb4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/verify-proof.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@ name: Verify Proofs (Reusable)

on:
workflow_call:
inputs:
evm-placeholder-verification-ref:
type: string
description: "Reference to evm-placeholder-verification repository to checkout at"

jobs:
verify-proofs:
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.head_ref || github.ref }}"
repository: 'NilFoundation/evm-placeholder-verification'
ref: ${{ inputs.evm-placeholder-verification-ref }}
- name: Download artifact
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit f84cbb4

Please sign in to comment.