mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2024-12-27 07:05:31 +03:00
Update json-master.yml
This commit is contained in:
parent
d24d435fad
commit
3a8eccc6ca
8
.github/workflows/json-master.yml
vendored
8
.github/workflows/json-master.yml
vendored
@ -51,13 +51,13 @@ jobs:
|
||||
commit_author: stamepicmorg <stamepicmorg@users.noreply.github.com> # defaults to author of the commit that triggered the run
|
||||
|
||||
- name: "Notify if changes have been detected"
|
||||
if: steps.commit.outputs.changes_detected == true
|
||||
if: steps.commit.outputs.changes_detected == 'true'
|
||||
run: |
|
||||
echo "Changes! Notify!"
|
||||
curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null
|
||||
|
||||
- name: "Tag new version if changes have been detected"
|
||||
if: steps.commit.outputs.changes_detected == true
|
||||
if: steps.commit.outputs.changes_detected == 'true'
|
||||
id: "tag"
|
||||
uses: "anothrNick/github-tag-action@1.30.0"
|
||||
env:
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
DEFAULT_BUMP: patch
|
||||
|
||||
- name: "Create release if changes have been detected"
|
||||
if: steps.commit.outputs.changes_detected == true
|
||||
if: steps.commit.outputs.changes_detected == 'true'
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
@ -78,6 +78,6 @@ jobs:
|
||||
body: "Update stubs"
|
||||
|
||||
- name: "Do nothing if no changes have been detected"
|
||||
if: steps.commit.outputs.changes_detected == false
|
||||
if: steps.commit.outputs.changes_detected == 'false'
|
||||
run: echo "No Changes!"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user