Skip to content

Commit

Permalink
Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Aug 19, 2024
1 parent a04f68f commit e364d79
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,21 +280,21 @@ jobs:
run: cmake --build build --config Release --parallel 3 --verbose
- name: installer
run: |
mkdir $GITHUB_WORKSPACE\bundle
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\FLAC.dll $GITHUB_WORKSPACE\bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\ogg.dll $GITHUB_WORKSPACE\bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\opus.dll $GITHUB_WORKSPACE\bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\vorbis.dll $GITHUB_WORKSPACE\bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\soxr.dll $GITHUB_WORKSPACE\bundle\
copy "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\v142\vc_redist.x64.exe" $GITHUB_WORKSPACE\bundle\
copy bin\Release\snapclient.exe $GITHUB_WORKSPACE\bundle\
mkdir bundle
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\FLAC.dll bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\ogg.dll bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\opus.dll bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\vorbis.dll bundle\
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\soxr.dll bundle\
copy "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\v142\vc_redist.x64.exe" bundle\
copy bin\Release\snapclient.exe bundle\
- name: Release artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Compress-Archive -Path $GITHUB_WORKSPACE\bundle\* -Destination $GITHUB_WORKSPACE\snapcast_win64.zip
Compress-Archive -Path bundle\* -Destination snapcast_win64.zip
git config --global --add safe.directory $GITHUB_WORKSPACE
gh release upload ${{needs.release.outputs.tag}} $GITHUB_WORKSPACE\snapcast_win64.zip
gh release upload ${{needs.release.outputs.tag}} snapcast_win64.zip
# - name: Archive artifacts
# uses: actions/upload-artifact@v4
# with:
Expand Down

0 comments on commit e364d79

Please sign in to comment.