Update json-master.yml

This commit is contained in:
stam 2021-01-17 03:29:06 +03:00
parent a9aa314cfd
commit faa282d552

View File

@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Get current date
id: date
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
# - name: Get current date
# id: date
# run: echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v2
@ -43,11 +43,11 @@ jobs:
cd ..
- name: "Run if changes have been detected"
if: ${{ steps.commit.outputs.changes_detected }} == "true"
if: steps.commit.outputs.changes_detected == true
run: echo "Changes!"
- name: "Run if no changes have been detected"
if: ${{ steps.commit.outputs.changes_detected }} == "false"
if: steps.commit.outputs.changes_detected == false
run: echo "No Changes!"
- name: Commit changes