diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 194b9e1a..7f00e89a 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -14,9 +14,9 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -27,7 +27,7 @@ jobs: - name: Download FFmpeg To Workspace # You may pin to the exact commit or the version. # uses: carlosperate/download-file-action@e85e0aa6262f13571d17a4a39687b26981c583dc - uses: carlosperate/download-file-action@v1.0.3 + uses: carlosperate/download-file-action@v1.1.2 with: # URL of the file to download file-url: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip @@ -38,13 +38,13 @@ jobs: run: tar xfz ffmpeg.zip --strip-components=1; copy bin/ffmpeg.exe TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64/ffmpeg.exe - name: Zip Windows GUI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64" dest: TwitchDownloaderGUI-Windows-x64.zip - name: Upload Windows GUI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderGUI-Windows-x64.zip path: TwitchDownloaderGUI-Windows-x64.zip @@ -53,9 +53,9 @@ jobs: runs-on: ubuntu-20.04 needs: [build-gui] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -72,61 +72,61 @@ jobs: run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm64 -p:DebugType=Portable - name: Zip Windows CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows" dest: TwitchDownloaderCLI-Windows-x64.zip - name: Zip Linux CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux" dest: TwitchDownloaderCLI-Linux-x64.zip - name: Zip LinuxAlpine CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine" dest: TwitchDownloaderCLI-LinuxAlpine-x64.zip - name: Zip LinuxArm CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm" dest: TwitchDownloaderCLI-LinuxArm.zip - name: Zip LinuxArm64 CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64" dest: TwitchDownloaderCLI-LinuxArm64.zip - name: Upload Windows CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-Windows-x64.zip path: TwitchDownloaderCLI-Windows-x64.zip - name: Upload Linux CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-Linux-x64.zip path: TwitchDownloaderCLI-Linux-x64.zip - name: Upload LinuxAlpine CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-LinuxAlpine-x64.zip path: TwitchDownloaderCLI-LinuxAlpine-x64.zip - name: Upload LinuxArm CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-LinuxArm.zip path: TwitchDownloaderCLI-LinuxArm.zip - name: Upload LinuxArm64 CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-LinuxArm64.zip path: TwitchDownloaderCLI-LinuxArm64.zip @@ -135,9 +135,9 @@ jobs: runs-on: macos-latest needs: [build-cli] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -148,25 +148,25 @@ jobs: run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOSArm64 -p:DebugType=Portable - name: Zip MacOS CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS" dest: TwitchDownloaderCLI-MacOS-x64.zip - name: Zip MacOSArm64 CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOSArm64" dest: TwitchDownloaderCLI-MacOSArm64.zip - name: Upload MacOS CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-MacOS-x64.zip path: TwitchDownloaderCLI-MacOS-x64.zip - name: Upload MacOSArm64 CLI Artifact Asset - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3.1.3 with: name: TwitchDownloaderCLI-MacOSArm64.zip path: TwitchDownloaderCLI-MacOSArm64.zip diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63864b7d..66d76aa0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: run: | expr "${{ steps.create_release.outputs.upload_url }}" > upload_url.txt - name: Upload URL - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.3 with: name: upload_url path: upload_url.txt @@ -39,9 +39,9 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -52,7 +52,7 @@ jobs: - name: Download FFmpeg To Workspace # You may pin to the exact commit or the version. # uses: carlosperate/download-file-action@e85e0aa6262f13571d17a4a39687b26981c583dc - uses: carlosperate/download-file-action@v1.0.3 + uses: carlosperate/download-file-action@v1.1.2 with: # URL of the file to download file-url: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip @@ -63,7 +63,7 @@ jobs: run: tar xfz ffmpeg.zip --strip-components=1; copy bin/ffmpeg.exe TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64/ffmpeg.exe - name: Zip Windows GUI Release Asset - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64" dest: TwitchDownloaderGUI-${{ github.event.inputs.release_tag }}-Windows-x64.zip @@ -94,9 +94,9 @@ jobs: runs-on: ubuntu-20.04 needs: [create-release, build-gui] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -113,31 +113,31 @@ jobs: run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm64 -p:DebugType=Embedded - name: Zip Windows CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-Windows-x64.zip - name: Zip Linux CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-Linux-x64.zip - name: Zip LinuxAlpine CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxAlpine-x64.zip - name: Zip LinuxArm CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxArm.zip - name: Zip LinuxArm64 CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxArm64.zip @@ -207,9 +207,9 @@ jobs: runs-on: macos-latest needs: [create-release, build-cli] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.7.0 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x - name: Restore Dependencies @@ -220,13 +220,13 @@ jobs: run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOSArm64 -p:DebugType=Embedded - name: Zip MacOS CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-MacOS-x64.zip - name: Zip MacOSArm64 CLI - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@v1.1 with: files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOSArm64" dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-MacOSArm64.zip