We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b642c commit 1885c97Copy full SHA for 1885c97
1 file changed
action.yaml
@@ -57,7 +57,7 @@ runs:
57
if [ ! -f "${{ github.workspace }}/$SCHEDULE_FILE" ]; then
58
echo "Regenerating schedule.json..."
59
pixi run generate-schedule --locked
60
- if [ "schedule.json" != "${{ github.workspace }}/$SCHEDULE_FILE" ]; then
+ if test "schedule.json" != "${{ github.workspace }}/$SCHEDULE_FILE" && test diff -q schedule.json "${{ github.workspace }}/$SCHEDULE_FILE"; then
61
mv schedule.json "${{ github.workspace }}/$SCHEDULE_FILE"
62
else
63
echo "Source and destination are the same file – nothing to move."
0 commit comments