File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1616# under the License.
1717
1818name : ODBC Windows Reusable
19-
19+ inputs :
20+ github-token :
21+ description : ' GITHUB_TOKEN for vcpkg caching'
22+ required : true
2023runs :
2124 using : " composite"
2225 steps :
7578 -storepasswordincleartext \
7679 -name "GitHub" \
7780 -username "$GITHUB_REPOSITORY_OWNER" \
78- -password "${{ secrets.GITHUB_TOKEN }}"
81+ -password "${{ inputs.github-token }}"
7982 $(vcpkg fetch nuget | tail -n 1) \
80- setapikey "${{ secrets.GITHUB_TOKEN }}" \
83+ setapikey "${{ inputs.github-token }}" \
8184 -source "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"
8285 - name : Build
8386 shell : cmd
Original file line number Diff line number Diff line change @@ -574,6 +574,8 @@ jobs:
574574 submodules : recursive
575575 - name : Build ODBC Windows
576576 uses : ./.github/actions/odbc-windows
577+ with :
578+ github-token : ${{ secrets.GITHUB_TOKEN }}
577579 - name : Test
578580 shell : cmd
579581 run : |
@@ -655,6 +657,8 @@ jobs:
655657 submodules : recursive
656658 - name : Build ODBC Windows
657659 uses : ./.github/actions/odbc-windows
660+ with :
661+ github-token : ${{ secrets.GITHUB_TOKEN }}
658662 - name : Name Unsigned ODBC DLL
659663 run : |
660664 Rename-Item `
@@ -725,6 +729,8 @@ jobs:
725729 --clobber
726730 - name : Build ODBC Windows
727731 uses : ./.github/actions/odbc-windows
732+ with :
733+ github-token : ${{ secrets.GITHUB_TOKEN }}
728734 - name : Replace signed DLL with unsigned DLL
729735 run : |
730736 Move-Item `
You can’t perform that action at this time.
0 commit comments