diff --git a/action.yml b/action.yml index 7fcaa52..ad48d6f 100644 --- a/action.yml +++ b/action.yml @@ -66,7 +66,7 @@ runs: shell: bash run: | if [ "${{ inputs.mesa3d-release }}" == "latest" ]; then - export MESA3D_VERSION=$(curl -s https://api.github.com/repos/pal1000/mesa-dist-win/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') + export MESA3D_VERSION=$(curl -s https://api.github.com/repos/pal1000/mesa-dist-win/releases/latest | grep -o '"tag_name": ".*"' | sed 's/"tag_name": "\(.*\)"/\1/') else export MESA3D_VERSION=${{ inputs.mesa3d-release }} fi