mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-04 21:04:01 +03:00
Remove tar.gz package creation and extraction steps from Linux build workflow
This commit is contained in:
@@ -167,14 +167,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -rf "$GITHUB_WORKSPACE/dist/linux/ffmpeg_temp" "$GITHUB_WORKSPACE/dist/linux/ffmpeg.tar.xz"
|
rm -rf "$GITHUB_WORKSPACE/dist/linux/ffmpeg_temp" "$GITHUB_WORKSPACE/dist/linux/ffmpeg.tar.xz"
|
||||||
|
|
||||||
- name: Create tar.gz package
|
|
||||||
run: |
|
|
||||||
|
|
||||||
cd "$GITHUB_WORKSPACE/dist/linux"
|
|
||||||
ZIP_NAME="yt-playlist-linux-${TAG}.tar.gz"
|
|
||||||
tar -czf "$GITHUB_WORKSPACE/$ZIP_NAME" *
|
|
||||||
echo "ZIP_PATH=$GITHUB_WORKSPACE/$ZIP_NAME" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Upload Linux artifact
|
- name: Upload Linux artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -207,11 +199,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: linux-zip
|
name: linux-zip
|
||||||
|
|
||||||
- name: Extract linux-zip artifact
|
|
||||||
run: |
|
|
||||||
set -e
|
|
||||||
tar -xzf linux-zip/yt-playlist-linux-${TAG}.tar.gz
|
|
||||||
|
|
||||||
- name: Build Docker image with release tag
|
- name: Build Docker image with release tag
|
||||||
run: docker build ./ -t ${{ env.REGISTRY_URL }}/${{ github.actor }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
run: docker build ./ -t ${{ env.REGISTRY_URL }}/${{ github.actor }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user