修正tar压缩命令

This commit is contained in:
nilaoda 2024-12-01 00:48:15 +08:00
parent b044cdb305
commit 117c73f54b
1 changed files with 12 additions and 12 deletions

View File

@ -54,7 +54,7 @@ jobs:
- name: Package [win-x86]
run: |
cd artifact
cd artifact-x86
zip ../N_m3u8DL-RE_Beta_win-NT6.0-x86_${{ needs.set-date.outputs.date }}.zip N_m3u8DL-RE.exe
- name: Upload Artifact[win-x86]
@ -83,7 +83,7 @@ jobs:
- name: Package [win]
run: |
cd artifact
cd artifact-x64
zip ../N_m3u8DL-RE_Beta_win-x64_${{ needs.set-date.outputs.date }}.zip N_m3u8DL-RE.exe
cd ../artifact-arm64
zip ../N_m3u8DL-RE_Beta_win-arm64_${{ needs.set-date.outputs.date }}.zip N_m3u8DL-RE.exe
@ -130,9 +130,9 @@ jobs:
- name: Package [linux]
run: |
cd artifact
tar -czvfp ../N_m3u8DL-RE_Beta_linux-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_linux-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
cd ../artifact-arm64
tar -czvfp ../N_m3u8DL-RE_Beta_linux-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_linux-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
- name: Upload Artifact [linux-x64]
uses: actions/upload-artifact@v3.1.3
@ -175,9 +175,9 @@ jobs:
- name: Package [linux-bionic]
run: |
cd artifact
tar -czvfp ../N_m3u8DL-RE_Beta_android-bionic-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_android-bionic-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
cd ../artifact-arm64
tar -czvfp ../N_m3u8DL-RE_Beta_android-bionic-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_android-bionic-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
- name: Upload Artifact [linux-bionic-x64]
uses: actions/upload-artifact@v3.1.3
@ -205,7 +205,7 @@ jobs:
- name: Package [linux-musl-x64]
run: |
cd artifact
tar -czvfp ../N_m3u8DL-RE_Beta_linux-musl-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_linux-musl-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
- name: Upload Artifact [linux-musl-x64]
uses: actions/upload-artifact@v3.1.3
@ -233,7 +233,7 @@ jobs:
- name: Package [linux-musl-arm64]
run: |
cd artifact
tar -czvfp ../N_m3u8DL-RE_Beta_linux-musl-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_linux-musl-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
- name: Upload Artifact [linux-musl-arm64]
uses: actions/upload-artifact@v3.1.3
@ -258,9 +258,9 @@ jobs:
- name: Package [osx]
run: |
cd artifact-x64
tar -czvfp ../N_m3u8DL-RE_Beta_linux-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_osx-x64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
cd ../artifact-arm64
tar -czvfp ../N_m3u8DL-RE_Beta_linux-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
tar -czvf ../N_m3u8DL-RE_Beta_osx-arm64_${{ needs.set-date.outputs.date }}.tar.gz N_m3u8DL-RE
- name: Upload Artifact [osx-x64]
uses: actions/upload-artifact@v3.1.3
@ -290,9 +290,9 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: ${{ github.event.inputs.tag }}
name: N_m3u8DL-RE_${{ github.event.inputs.tag }}-beta
name: N_m3u8DL-RE_${{ github.event.inputs.tag }}
artifacts: "android-bionic-x64/*,android-bionic-arm64/*,linux-x64/*,linux-arm64/*,linux-musl-x64/*,linux-musl-arm64/*,osx-x64/*,osx-arm64/*,win-x64/*,win-arm64/*,win-NT6.0-x86/*"
draft: false
allowUpdates: true
generateReleaseNotes: true
discussionCategory: 'announcements'
discussionCategory: 'Announcements'