ci: fix next/kelvin/* workflows

This commit is contained in:
Matthew LeVan 2023-03-28 11:03:26 -04:00
parent 6d80191aef
commit 022b4b7756
2 changed files with 4 additions and 3 deletions

View File

@ -27,5 +27,5 @@ jobs:
uses: ./.github/workflows/shared.yml
with:
upload: true
next: ${{ github.ref | replace('refs/heads/next/kelvin/', '') }}
next: ${{ github.ref_name }}
secrets: inherit

View File

@ -15,7 +15,7 @@ on:
default: 'edge'
required: false
next:
description: 'next kelvin version'
description: 'next kelvin version branch name'
type: string
default: null
required: false
@ -79,7 +79,8 @@ jobs:
run: |
cp -RL tests pkg/arvo/tests
if ${{ inputs.next != null }}; then
base="https://bootstrap.urbit.org/vere/next/kelvin/${{ inputs.next }}"
next=$(echo ${{ inputs.next }} | sed 's/[^0-9]//g')
base="https://bootstrap.urbit.org/vere/next/kelvin/${next}"
else
base="https://bootstrap.urbit.org/vere/${{ inputs.pace }}"
fi