Del A TestFilght Link #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Del A TestFilght Link | |
on: | |
workflow_dispatch: | |
inputs: | |
testflight_link: | |
description: 'Testflight 公共测试的完整链接' | |
required: true | |
table: | |
description: '链接分类(可选值:`macos`, `ios`, `ios_game`, `chinese`)' | |
required: true | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
if: github.repository == 'pluwen/awesome-testflight-link' | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11.1' | |
architecture: x64 | |
- name: Del A TestFilght Link | |
run: python scripts/del_link.py "${{ github.event.inputs.testflight_link }}" "${{ github.event.inputs.table }}" | |
- name: Git commit && push | |
run: | | |
git_diff=`git diff` | |
if [ -z "$git_diff" ]; then echo "Nothing Changed";exit; fi | |
git config --global user.email "[email protected]" | |
git config --global user.name "github_bot" | |
git add . | |
git commit -m "Del A TestFilght Link" | |
git push |