Skip to content

Commit 78bcbbb

Browse files
committed
WIP
1 parent c00dd9b commit 78bcbbb

File tree

3 files changed

+38
-35
lines changed

3 files changed

+38
-35
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ permissions:
66
pages: write
77

88
env:
9-
VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/hpcc-systems/index.json,readwrite"
9+
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
10+
VCPKG_NUGET_REPOSITORY: https://github.com/hpcc-systems/hpcc-js-wasm
1011

1112
on:
1213
push:
@@ -52,16 +53,16 @@ jobs:
5253
5354
- name: Setup vcpkg NuGet authentication
5455
run: |
55-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
56+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
5657
sources add \
57-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json" \
58-
-StorePasswordInClearText \
59-
-Name GitHubPackages \
60-
-UserName "hpcc-systems" \
61-
-Password "${{ secrets.GITHUB_TOKEN }}"
62-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
58+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
59+
-storepasswordincleartext \
60+
-name "GitHub" \
61+
-username "${{ github.repository_owner }}" \
62+
-password "${{ secrets.GITHUB_TOKEN }}"
63+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
6364
setapikey "${{ secrets.GITHUB_TOKEN }}" \
64-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json"
65+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
6566
6667
- name: Build
6768
run: |

.github/workflows/release-please.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Release Please (release-please.yml)
22

33
env:
4-
VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/hpcc-systems/index.json,readwrite"
4+
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
5+
VCPKG_NUGET_REPOSITORY: https://github.com/hpcc-systems/hpcc-js-wasm
56

67
on:
78
push:
@@ -66,16 +67,16 @@ jobs:
6667
- name: Setup vcpkg NuGet authentication
6768
if: ${{ steps.release.outputs.release_created }}
6869
run: |
69-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
70+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
7071
sources add \
71-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json" \
72-
-StorePasswordInClearText \
73-
-Name GitHubPackages \
74-
-UserName "hpcc-systems" \
75-
-Password "${{ secrets.GITHUB_TOKEN }}"
76-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
72+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
73+
-storepasswordincleartext \
74+
-name "GitHub" \
75+
-username "${{ github.repository_owner }}" \
76+
-password "${{ secrets.GITHUB_TOKEN }}"
77+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
7778
setapikey "${{ secrets.GITHUB_TOKEN }}" \
78-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json"
79+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
7980
8081
- name: Lint
8182
if: ${{ steps.release.outputs.release_created }}

.github/workflows/test-pr.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ permissions:
55
contents: read
66

77
env:
8-
VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/hpcc-systems/index.json,readwrite"
8+
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
9+
VCPKG_NUGET_REPOSITORY: https://github.com/hpcc-systems/hpcc-js-wasm
910

1011
on:
1112
pull_request:
@@ -78,30 +79,30 @@ jobs:
7879
- name: Setup vcpkg NuGet authentication
7980
if: ${{ contains(matrix.os, 'ubuntu') }}
8081
run: |
81-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
82+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
8283
sources add \
83-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json" \
84-
-StorePasswordInClearText \
85-
-Name GitHubPackages \
86-
-UserName "hpcc-systems" \
87-
-Password "${{ secrets.GITHUB_TOKEN }}"
88-
mono $(./vcpkg/vcpkg fetch nuget | tail -n 1) \
84+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
85+
-storepasswordincleartext \
86+
-name "GitHub" \
87+
-username "${{ github.repository_owner }}" \
88+
-password "${{ secrets.GITHUB_TOKEN }}"
89+
mono `./vcpkg/vcpkg fetch nuget | tail -n 1` \
8990
setapikey "${{ secrets.GITHUB_TOKEN }}" \
90-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json"
91+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
9192
9293
- name: Setup vcpkg NuGet authentication (macOS)
9394
if: ${{ contains(matrix.os, 'macos') }}
9495
run: |
95-
$(./vcpkg/vcpkg fetch nuget | tail -n 1) \
96+
`./vcpkg/vcpkg fetch nuget | tail -n 1` \
9697
sources add \
97-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json" \
98-
-StorePasswordInClearText \
99-
-Name GitHubPackages \
100-
-UserName "hpcc-systems" \
101-
-Password "${{ secrets.GITHUB_TOKEN }}"
102-
$(./vcpkg/vcpkg fetch nuget | tail -n 1) \
98+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
99+
-storepasswordincleartext \
100+
-name "GitHub" \
101+
-username "${{ github.repository_owner }}" \
102+
-password "${{ secrets.GITHUB_TOKEN }}"
103+
`./vcpkg/vcpkg fetch nuget | tail -n 1` \
103104
setapikey "${{ secrets.GITHUB_TOKEN }}" \
104-
-Source "https://nuget.pkg.github.com/hpcc-systems/index.json"
105+
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
105106
106107
- name: Lint
107108
run: |

0 commit comments

Comments
 (0)