mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-23 06:42:26 +03:00
Update upload-artifact action to v6 in build workflows
This commit is contained in:
@@ -64,7 +64,7 @@ jobs:
|
|||||||
echo "ZIP_PATH=$GITHUB_WORKSPACE/$ZIP_NAME" >> $GITHUB_ENV
|
echo "ZIP_PATH=$GITHUB_WORKSPACE/$ZIP_NAME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload Windows artifact
|
- name: Upload Windows artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: windows-release
|
name: windows-release
|
||||||
path: ${{ github.workspace }}/yt-playlist-windows-*.zip
|
path: ${{ github.workspace }}/yt-playlist-windows-*.zip
|
||||||
@@ -160,7 +160,7 @@ jobs:
|
|||||||
tar -czf "$GITHUB_WORKSPACE/$TAR_NAME" *
|
tar -czf "$GITHUB_WORKSPACE/$TAR_NAME" *
|
||||||
|
|
||||||
- name: Upload Linux artifact
|
- name: Upload Linux artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-release
|
name: linux-release
|
||||||
path: ${{ github.workspace }}/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz
|
path: ${{ github.workspace }}/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz
|
||||||
@@ -185,7 +185,7 @@ jobs:
|
|||||||
echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:latest" >> $GITHUB_ENV
|
echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:latest" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Download linux artifact
|
- name: Download linux artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: linux-release
|
name: linux-release
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ jobs:
|
|||||||
run: docker save -o docker-image.tar $RELEASE_IMAGE
|
run: docker save -o docker-image.tar $RELEASE_IMAGE
|
||||||
|
|
||||||
- name: Upload docker-image artifact
|
- name: Upload docker-image artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: docker-image
|
name: docker-image
|
||||||
path: docker-image.tar
|
path: docker-image.tar
|
||||||
@@ -217,7 +217,7 @@ jobs:
|
|||||||
run: docker save -o docker-image-latest.tar $LATEST_IMAGE
|
run: docker save -o docker-image-latest.tar $LATEST_IMAGE
|
||||||
|
|
||||||
- name: Upload docker-image-latest artifact
|
- name: Upload docker-image-latest artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: docker-image-latest
|
name: docker-image-latest
|
||||||
path: docker-image-latest.tar
|
path: docker-image-latest.tar
|
||||||
@@ -226,19 +226,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-windows-package, build-linux-package, build-docker-image]
|
needs: [build-windows-package, build-linux-package, build-docker-image]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: windows-release
|
name: windows-release
|
||||||
path: windows-release
|
path: windows-release
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: linux-release
|
name: linux-release
|
||||||
path: linux-release
|
path: linux-release
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: docker-image
|
name: docker-image
|
||||||
path: docker-image
|
path: docker-image
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: docker-image-latest
|
name: docker-image-latest
|
||||||
path: docker-image-latest
|
path: docker-image-latest
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
cd "$GITHUB_WORKSPACE/dist/linux" && tar -czf "$GITHUB_WORKSPACE/yt-playlist-linux-$VERSION.tar.gz" *
|
cd "$GITHUB_WORKSPACE/dist/linux" && tar -czf "$GITHUB_WORKSPACE/yt-playlist-linux-$VERSION.tar.gz" *
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact_name }}
|
name: ${{ matrix.artifact_name }}
|
||||||
path: |
|
path: |
|
||||||
@@ -212,7 +212,7 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}/dist/linux-docker
|
working-directory: ${{ github.workspace }}/dist/linux-docker
|
||||||
|
|
||||||
- name: Upload Docker artifacts
|
- name: Upload Docker artifacts
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: docker-images
|
name: docker-images
|
||||||
path: ${{ github.workspace }}/dist/linux-docker/docker-image*.tar
|
path: ${{ github.workspace }}/dist/linux-docker/docker-image*.tar
|
||||||
|
|||||||
Reference in New Issue
Block a user