Skip to content

Commit

Permalink
Switch to using a different vcpkg caching strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
stekyne committed Dec 31, 2023
1 parent d12c59b commit 1c6b87c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/plugins_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,26 @@ jobs:
# ./vcpkg/bootstrap-vcpkg.sh
# brew install csound

- name: Setup VCPKG cache
shell: bash
run: |
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
sources add \
-source "https://nuget.pkg.github.com/csound/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "csound" \
-password "${{ secrets.GITHUB_TOKEN }}"
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
setapikey "${{ secrets.GITHUB_TOKEN }}" \
-source "https://nuget.pkg.github.com/csound/index.json"
# - name: Setup VCPKG cache
# shell: bash
# run: |
# ${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
# sources add \
# -source "https://nuget.pkg.github.com/csound/index.json" \
# -storepasswordincleartext \
# -name "GitHub" \
# -username "csound" \
# -password "${{ secrets.GITHUB_TOKEN }}"
# ${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \
# setapikey "${{ secrets.GITHUB_TOKEN }}" \
# -source "https://nuget.pkg.github.com/csound/index.json"

- name: VCPKG cache
uses: lukka/run-vcpkg@v11 # Always specify the specific _version_ of the

- name: Generate CMake build
run: |
cmake -B build -DUSE_VCPKG=1
echo "Logging"
cat ./home/runner/work/plugins/plugins/vcpkg/buildtrees/fltk/config-x64-linux-out.log
cat ./home/runner/work/plugins/plugins/build/vcpkg-manifest-install.log
- name: Build plugins
run: cmake --build build --config Release
Expand Down

0 comments on commit 1c6b87c

Please sign in to comment.