Update .forgejo/workflows/package-check.yml
This commit is contained in:
parent
23e75edf29
commit
a960ec4643
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ jobs:
|
||||||
echo "LATEST_VERSION=$LATEST" >> $GITHUB_ENV
|
echo "LATEST_VERSION=$LATEST" >> $GITHUB_ENV
|
||||||
echo "latest_version=$LATEST" >> $GITHUB_OUTPUT
|
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
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
FILE=".last_version"
|
FILE=".last_version"
|
||||||
|
@ -78,6 +78,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config user.name "forgejo-runner"
|
git config user.name "forgejo-runner"
|
||||||
git config user.email "runner@forgejo.local"
|
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 commit -m "Update tracked version to $LATEST_VERSION"
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue