File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
- name : Extract current formula version
29
29
id : get-current-version
30
30
run : |
31
- CURRENT_VERSION="$(grep -oP 'url "https://github.com/fortran-lang/fpm/releases/download/v\K[0-9.]+' Formula/fpm.rb)"
31
+ CURRENT_VERSION="$(grep -oP 'url "https://github.com/fortran-lang/fpm/releases/download/v\K[0-9.]+' Formula/fpm.rb | head -n 1 )"
32
32
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> "$GITHUB_ENV"
33
33
echo "Current version: ${CURRENT_VERSION}"
34
34
80
80
- name : Create Pull Request
81
81
if : env.UPDATE_NEEDED == 'true'
82
82
id : create-pr
83
- uses : peter-evans/create-pull-request@v5
83
+ uses : peter-evans/create-pull-request@v6
84
84
with :
85
85
token : ${{ secrets.GITHUB_TOKEN }}
86
86
commit-message : " Update fpm to ${{ env.LATEST_VERSION }}"
You can’t perform that action at this time.
0 commit comments