forked from Shinonome/caelestia-cli
ci: fix
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
id: check
|
id: check
|
||||||
run: echo modified=$(git diff --exit-code src/caelestia/data/emojis.txt && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
run: echo modified=$(git diff --exit-code src/caelestia/data/emojis.txt &>/dev/null && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
if: steps.check.outputs.modified == 'true'
|
if: steps.check.outputs.modified == 'true'
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
id: check
|
id: check
|
||||||
run: echo modified=$(git diff --exit-code flake.lock && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
run: echo modified=$(git diff --exit-code flake.lock &>/dev/null && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
if: steps.check.outputs.modified == 'true'
|
if: steps.check.outputs.modified == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user