Update gh-pages.yml

This commit is contained in:
Jason TIAN 2022-04-02 17:30:37 +08:00 committed by GitHub
parent 6af335dd52
commit 381b6b489b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -17,11 +17,11 @@ jobs:
- uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
# make file runnable, might not be necessary
- run: chmod +x "${GITHUB_WORKSPACE}/scripts/duration-length.sh"
# run script
- run: "${GITHUB_WORKSPACE}/scripts/duration-length.sh"
- name: Run script file
run: |
chmod +x "${GITHUB_WORKSPACE}/scripts/duration-length.sh"
"${GITHUB_WORKSPACE}/scripts/duration-length.sh"
shell: bash
# - run: ffprobe -i "https://ting.shufang.org/shitsurakuen/lost-paradise_01-v2.mp3" -show_entries format=duration -v quiet -of csv="p=0" -sexagesimal
# - run: ffprobe -i "https://ting.shufang.org/shitsurakuen/lost-paradise_01-v2.mp3" -show_entries format=size -v quiet -of csv="p=0"