mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-10 17:59:17 +00:00
Update generate-app-headers.yaml
This commit is contained in:
parent
6e56610e28
commit
7c08ec1fc6
5
.github/workflows/generate-app-headers.yaml
vendored
5
.github/workflows/generate-app-headers.yaml
vendored
@ -51,7 +51,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [ ! -f ".app-headers" ]; then
|
if [ ! -f ".app-headers" ]; then
|
||||||
echo "The .app-headers file does not exist. Creating it."
|
echo "The .app-headers file does not exist. Creating it."
|
||||||
touch .app-headers
|
|
||||||
echo "Generated by CI" > .app-headers
|
echo "Generated by CI" > .app-headers
|
||||||
else
|
else
|
||||||
echo ".app-headers already exists."
|
echo ".app-headers already exists."
|
||||||
@ -66,7 +65,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
bash .github/workflows/generate-app-headers.sh
|
bash .github/workflows/generate-app-headers.sh
|
||||||
|
|
||||||
# Step 8: Check if there are changes
|
# Step 8: Check for changes (ensure file is updated)
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
run: |
|
run: |
|
||||||
git diff --exit-code || echo "Changes detected."
|
git diff --exit-code || echo "Changes detected."
|
||||||
@ -118,4 +117,4 @@ jobs:
|
|||||||
# Step 15: Complete (Final confirmation that workflow has finished)
|
# Step 15: Complete (Final confirmation that workflow has finished)
|
||||||
- name: Complete
|
- name: Complete
|
||||||
run: |
|
run: |
|
||||||
|
echo "Workflow has completed successfully."
|
||||||
|
Loading…
Reference in New Issue
Block a user