mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-10 05:19:42 +05:00
Update workflow.yml
This commit is contained in:
10
.github/workflows/workflow.yml
vendored
10
.github/workflows/workflow.yml
vendored
@@ -145,20 +145,12 @@ jobs:
|
|||||||
"changelog": "https://raw.githubusercontent.com/${{ github.repository }}/refs/heads/main/changelog.md"
|
"changelog": "https://raw.githubusercontent.com/${{ github.repository }}/refs/heads/main/changelog.md"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
cat > update-tv.json <<EOF
|
|
||||||
{
|
|
||||||
"version": "${{ inputs.version }}",
|
|
||||||
"versionCode": ${{ inputs.version_code }},
|
|
||||||
"zipUrl": "https://github.com/${{ github.repository }}/releases/download/${{ inputs.tag }}/zaprett-tv.zip",
|
|
||||||
"changelog": "https://raw.githubusercontent.com/${{ github.repository }}/refs/heads/main/changelog.md"
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
- name: Commit jsons and changelog
|
- name: Commit jsons and changelog
|
||||||
if: ${{ inputs.create_release == 'true' }}
|
if: ${{ inputs.create_release == 'true' }}
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "Update update's.json and changelog"
|
commit_message: "Update update's.json and changelog"
|
||||||
file_pattern: "update.json update_hosts.json changelog.md"
|
file_pattern: "update.json update-hosts.json changelog.md"
|
||||||
- name: Send bot post
|
- name: Send bot post
|
||||||
env:
|
env:
|
||||||
MESSAGE_TEXT: |
|
MESSAGE_TEXT: |
|
||||||
|
|||||||
Reference in New Issue
Block a user