Commit 040fb14f9e
Unsigned
Layout: unified · split
.github/workflows/ci-cd.yml +16 −5
| @@ -72,15 +72,26 @@ jobs: | |||
| 72 | steps: | 72 | steps: |
| 73 | - name: Checkout code | 73 | - name: Checkout code |
| 74 | uses: actions/checkout@v2 | 74 | uses: actions/checkout@v2 |
| 75 | with: | 75 | # with: |
| 76 | lfs: true | 76 | # lfs: true |
| 77 | |||
| 78 | - name: Download and extract MPV binary | ||
| 79 | run: | | ||
| 80 | # Create directory if it doesn't exist | ||
| 81 | New-Item -ItemType Directory -Force -Path "Build\mpv" | ||
| 82 | # Download the compressed MPV binary | ||
| 83 | Invoke-WebRequest -Uri "https://raw.githubusercontent.com/${{ github.repository }}/main/Build/mpv/mpv.exe.gz" -OutFile "Build\mpv\mpv.exe.gz" | ||
| 84 | # Extract using 7-Zip (built into Windows runners) | ||
| 85 | 7z x "Build\mpv\mpv.exe.gz" -o"Build\mpv" | ||
| 86 | Remove-Item "Build\mpv\mpv.exe.gz" | ||
| 87 | shell: pwsh | ||
| 77 | 88 | ||
| 78 | - name: Download Artifacts | 89 | - name: Download Artifacts |
| 79 | uses: actions/download-artifact@v4 # Updated to version 4 | 90 | uses: actions/download-artifact@v4 |
| 80 | with: | 91 | with: |
| 81 | name: curd-binaries | 92 | name: curd-binaries |
| 82 | path: Build # Specify where to download the artifacts | 93 | path: Build |
| 83 | 94 | ||
| 84 | - name: Bump Version | 95 | - name: Bump Version |
| 85 | id: bump_version | 96 | id: bump_version |
| 86 | run: | | 97 | run: | |