Skip to content

Commit 1633034

Browse files
author
Administrator
committed
修改路径bug
1 parent ed70aa7 commit 1633034

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.github/workflows/pub_ffmpeg_release.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,40 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
run: |
16-
echo "拉取代码仓库:当前目录:$(pwd)"
17-
if [[ -d "shellscript-install" ]]; then
16+
echo "➡️ echo "当前目录:$(pwd)"拉取代码仓库:当前目录:$(pwd)"
17+
if [[ -e"create_deb_pkg.sh" ]]; then
1818
echo "➡️ shellscript-install 目录已存在:"
19-
echo "➡️ 进入目录:shellscript-install"
20-
cd shellscript-install || exit
2119
echo "➡️ 拉取最新代码"
2220
git pull
2321
else
2422
echo "➡️ shellscript-install 目录不存在,开始克隆代码仓库"
25-
git clone https://gh-proxy.com/github.com/linjonh/shellscript-install.git
23+
git clone https://gh-proxy.com/github.com/linjonh/shellscript-install.git .
24+
echo "➡️ 当前目录1:$(pwd)"
2625
cd shellscript-install || exit
27-
pwd
26+
echo "➡️ 当前目录2:$(pwd)"
2827
echo "➡️ 拉取最新代码完成"
2928
fi
3029
3130
- name: 编译ffmpeg
3231
run: |
33-
./install_ffmpeg.sh /usr
32+
echo "➡️ 编译ffmpeg"
33+
echo "➡️ 当前目录:$(pwd)"
34+
./install_ffmpeg.sh /usr
35+
echo "➡️ 编译完成"
36+
echo "➡️ ls -lh ffmpegMaker/ffmpeg-source/ :"
37+
ls -lh ffmpegMaker/ffmpeg-source/
3438
3539
- name: 创建deb包
3640
run: |
37-
./create_deb_pkg.sh ffmpge-n7.1-with-gltrasition 1.0.0 1 amd64
41+
echo "➡️ 当前目录:$(pwd)"
42+
./create_deb_pkg.sh ffmpeg-n7.1-with-gltrasition 1.0.0 1 amd64
43+
echo "➡️ ls -lh ./ffmpegMaker/ffmpeg-source/ :"
44+
ls -lh ./ffmpegMaker/ffmpeg-source/
45+
3846
3947
- name: Get the tag name
4048
id: vars
41-
run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
49+
run: echo "➡️ TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
4250

4351
- name: Create GitHub Release (if not exists)
4452
uses: softprops/action-gh-release@v2
@@ -47,7 +55,7 @@ jobs:
4755
name: Release ${{ env.TAG_NAME }}
4856
draft: false
4957
prerelease: false
50-
files: ./ffmpegMaker/ffmpeg-source/ffmpge-n7.1-with-gltrasition_1.0.0-1_amd64.deb
58+
files: ./ffmpegMaker/ffmpeg-source/ffmpeg-n7.1-with-gltrasition_1.0.0-1_amd64.deb
5159
token: ${{ secrets.FFMPEGMAKER_TARGET_REPO_TOKEN }}
5260

5361
- name: Upload ffmpeg binary to Release
@@ -57,6 +65,6 @@ jobs:
5765
name: Release ${{ env.TAG_NAME }}
5866
draft: false
5967
prerelease: false
60-
files: ./ffmpegMaker/ffmpeg-source/ffmpge-n7.1-with-gltrasition_1.0.0-1_amd64.deb
68+
files: ./ffmpegMaker/ffmpeg-source/ffmpeg-n7.1-with-gltrasition_1.0.0-1_amd64.deb
6169
repository: linjonh/ffmpegMaker
6270
token: ${{ secrets.FFMPEGMAKER_TARGET_REPO_TOKEN }}

0 commit comments

Comments
 (0)