diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 82f0d98af9..0601faa0b3 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -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 diff --git a/.github/workflows/shared.yml b/.github/workflows/shared.yml index 4a253a02b2..bb85467be7 100644 --- a/.github/workflows/shared.yml +++ b/.github/workflows/shared.yml @@ -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