From 491939b35f4ac6d1e050f71f6ee56619af701aac Mon Sep 17 00:00:00 2001 From: Abdul Rabbani <58230246+abdulrabbani00@users.noreply.github.com> Date: Thu, 2 Jun 2022 09:18:01 -0400 Subject: [PATCH] Feature/update cicd tag sharding (#165) * Update geth version: 1.10.18 * Upgrade to Go18 and fix broken interfaces * Update Go version in dockerfile * Update make file to download dependencies * Update go version for integration tests. * update file name * install packages. * Update gingko version and secret * Update unit test download package * Update vulcanize dependencies * Update commands for calling unit tests * Use latest version of statediff * Update github variable to work with tags (#164) * Update github variable to work with tags * Update tests.yaml * Use conditional for reference --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 164f9db5..16cf13cb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -36,7 +36,7 @@ jobs: - name: Output variables to files run: | echo $GITHUB_REPOSITORY > /tmp/git_repository - echo $GITHUB_HEAD_REF > /tmp/git_head_ref + [ -z "$GITHUB_HEAD_REF" ] && echo $GITHUB_REF_NAME > /tmp/git_head_ref || echo $GITHUB_HEAD_REF > /tmp/git_head_ref echo "-----BEGIN OPENSSH PRIVATE KEY-----" >> /tmp/key echo ${{ env.BUILD_KEY }} >> /tmp/key echo "-----END OPENSSH PRIVATE KEY-----" >> /tmp/key