Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
test short sha
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelArtists committed May 8, 2024
1 parent b2450ff commit 6624c1d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,24 @@ on:
jobs:
deploy_devnet:
runs-on: ubuntu-latest

env:
GITHUB_SHA: ${{ github.sha }}


steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build agglayer image locally
id: build_agglayer
run: |
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
GITHUB_SHA_SHORT=$(jq -r .pull_request.head.sha "$GITHUB_EVENT_PATH" | cut -c 1-7)
echo $GITHUB_SHA_SHORT
echo "::set-output name=GITHUB_SHA_SHORT::$GITHUB_SHA_SHORT"
fi
- name: Set up Docker
uses: docker/setup-buildx-action@v1

- name: Run regression tests against custom user-specified images
uses: 0xPolygon/[email protected]
with:
zkevm_agglayer: ${{ env.GITHUB_SHA }}
zkevm_agglayer: ${{ steps.build_agglayer.outputs.GITHUB_SHA_SHORT }}

0 comments on commit 6624c1d

Please sign in to comment.