|
39 | 39 | env: |
40 | 40 | USERNAME: asfernandes |
41 | 41 | VCPKG_EXE: ${{ github.workspace }}/vcpkg/vcpkg |
42 | | - FEED_URL: https://nuget.pkg.github.com/asfernandes/index.json |
43 | | - VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite" |
| 42 | + FEED_URL: ${{ github.repository == 'asfernandes/fb-cpp' && 'https://nuget.pkg.github.com/asfernandes/index.json' || '' }} |
| 43 | + VCPKG_BINARY_SOURCES: ${{ github.repository == 'asfernandes/fb-cpp' && 'clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite' || '' }} |
44 | 44 | steps: |
45 | 45 | - name: Checkout repository |
46 | 46 | uses: actions/checkout@v4 |
@@ -143,8 +143,8 @@ jobs: |
143 | 143 | env: |
144 | 144 | USERNAME: asfernandes |
145 | 145 | VCPKG_EXE: ${{ github.workspace }}/vcpkg/vcpkg |
146 | | - FEED_URL: https://nuget.pkg.github.com/asfernandes/index.json |
147 | | - VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite" |
| 146 | + FEED_URL: ${{ github.repository == 'asfernandes/fb-cpp' && 'https://nuget.pkg.github.com/asfernandes/index.json' || '' }} |
| 147 | + VCPKG_BINARY_SOURCES: ${{ github.repository == 'asfernandes/fb-cpp' && 'clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite' || '' }} |
148 | 148 | steps: |
149 | 149 | - name: Checkout repository |
150 | 150 | uses: actions/checkout@v4 |
@@ -233,8 +233,8 @@ jobs: |
233 | 233 | env: |
234 | 234 | USERNAME: asfernandes |
235 | 235 | VCPKG_EXE: ${{ github.workspace }}/vcpkg/vcpkg |
236 | | - FEED_URL: https://nuget.pkg.github.com/asfernandes/index.json |
237 | | - VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite" |
| 236 | + FEED_URL: ${{ github.repository == 'asfernandes/fb-cpp' && 'https://nuget.pkg.github.com/asfernandes/index.json' || '' }} |
| 237 | + VCPKG_BINARY_SOURCES: ${{ github.repository == 'asfernandes/fb-cpp' && 'clear;nuget,https://nuget.pkg.github.com/asfernandes/index.json,readwrite' || '' }} |
238 | 238 | steps: |
239 | 239 | - name: Checkout repository |
240 | 240 | uses: actions/checkout@v4 |
|
0 commit comments