diff --git a/.github/workflows/subxt-diff.yml b/.github/workflows/subxt-diff.yml index d3986c1fa9..3834a39ccf 100644 --- a/.github/workflows/subxt-diff.yml +++ b/.github/workflows/subxt-diff.yml @@ -33,15 +33,15 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Lookup previous runtime release build run: | - COMMIT=`git rev-list -n 1 '${{ github.event.inputs.last_spec_version }}'` + COMMIT=`git rev-list -n 1 'runtim-${{ github.event.inputs.last_spec_version }}'` PREVIOUS_RUNTIME_BUILD=$(gh run -R moonbeam-foundation/moonbeam list -w Build --limit=100 --json databaseId,status,conclusion,headSha --jq ".[] | select(.headSha == \"$COMMIT\" and .status == \"completed\" and .conclusion == \"success\") | .databaseId" | head -n 1) - echo "Latest build for ${{ github.event.inputs.last_spec_version }}: $PREVIOUS_RUNTIME_BUILD" + echo "Latest build for runtim-${{ github.event.inputs.last_spec_version }}: $PREVIOUS_RUNTIME_BUILD" echo "PREVIOUS_RUNTIME_BUILD=$PREVIOUS_RUNTIME_BUILD" >> $GITHUB_OUTPUT - name: Lookup previous runtime release build run: | - COMMIT=`git rev-list -n 1 '${{ github.event.inputs.spec_version }}'` + COMMIT=`git rev-list -n 1 'runtim-${{ github.event.inputs.spec_version }}'` RUNTIME_BUILD=$(gh run -R moonbeam-foundation/moonbeam list -w Build --limit=100 --json databaseId,status,conclusion,headSha --jq ".[] | select(.headSha == \"$COMMIT\" and .status == \"completed\" and .conclusion == \"success\") | .databaseId" | head -n 1) - echo "Latest build for ${{ github.event.inputs.spec_version }}: $RUNTIME_BUILD" + echo "Latest build for runtim-${{ github.event.inputs.spec_version }}: $RUNTIME_BUILD" echo "NEXT_RUNTIME_BUILD=$RUNTIME_BUILD" >> $GITHUB_OUTPUT - name: Download binaries for each runtime run: |