Update workflow.yml

This commit is contained in:
egor-white
2025-11-03 22:30:52 +03:00
committed by GitHub
parent 942578b5c5
commit cf98c42995

View File

@@ -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: |