Update .forgejo/workflows/package-check.yml

This commit is contained in:
melody 2025-06-18 18:13:37 +02:00
commit a960ec4643

View file

@ -28,7 +28,7 @@ jobs:
echo "LATEST_VERSION=$LATEST" >> $GITHUB_ENV
echo "latest_version=$LATEST" >> $GITHUB_OUTPUT
- name: Compare with last known version
- name: Compare with last known version or if last rebuild was longer then 3 days ago
shell: sh
run: |
FILE=".last_version"
@ -78,6 +78,6 @@ jobs:
run: |
git config user.name "forgejo-runner"
git config user.email "runner@forgejo.local"
git add .last_version
git add .last_version .last_rebuild
git commit -m "Update tracked version to $LATEST_VERSION"
git push