diff --git a/.github/workflows/toolchain-ec2.yml b/.github/workflows/toolchain-ec2.yml index bbc4f6d11..75b6e2fd6 100644 --- a/.github/workflows/toolchain-ec2.yml +++ b/.github/workflows/toolchain-ec2.yml @@ -96,7 +96,7 @@ jobs: - name: "Install SP1" env: - SP1UP_VERSION: ${{ github.ref_name }} + SP1UP_VERSION: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }} run: | cd sp1up chmod +x sp1up