Skip to content

Commit 0cd0da4

Browse files
committed
Update fpm-version-update.yml
1 parent 2aed22c commit 0cd0da4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/fpm-version-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
- name: Compare versions
3636
id: check-update
3737
run: |
38-
if [ "${LATEST_VERSION}" != "${CURRENT_VERSION}" ]; then
38+
if [ "${LATEST_VERSION}" != "${CURRENT_VERSION}" ] || [ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]; then
3939
echo "New version available!"
4040
echo "UPDATE_NEEDED=true" >> "$GITHUB_ENV"
4141
else
42+
echo "UPDATE_NEEDED=false" >> "$GITHUB_ENV"
4243
echo "No update needed."
4344
fi
4445

0 commit comments

Comments
 (0)