Skip to content

Commit 91ceeda

Browse files
committed
try publishing to bintray instead
1 parent 4c42902 commit 91ceeda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Package
4747
shell: pwsh
48-
run: dotnet pack .\Tocsoft.GraphQLCodeGen.MsBuild\Tocsoft.GraphQLCodeGen.MsBuild.csproj -c Release -o packages
48+
run: dotnet pack .\Tocsoft.GraphQLCodeGen.MsBuild\Tocsoft.GraphQLCodeGen.MsBuild.csproj -c Release -o ../packages
4949

5050
- uses: actions/upload-artifact@v2
5151
with:
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Package
8080
shell: pwsh
81-
run: dotnet pack .\Tocsoft.GraphQLCodeGen.Npm\Tocsoft.GraphQLCodeGen.Npm.csproj -c Release -o packages
81+
run: dotnet pack .\Tocsoft.GraphQLCodeGen.Npm\Tocsoft.GraphQLCodeGen.Npm.csproj -c Release -o ../packages
8282

8383
- uses: actions/upload-artifact@v2
8484
with:
@@ -87,13 +87,13 @@ jobs:
8787

8888
- name: Configure Github package registry
8989
shell: pwsh
90-
run: Set-Content -Path '.npmrc' -Value 'registry=https://npm.pkg.github.com'
90+
run: Set-Content -Path '.npmrc' -Value 'registry=https://dl.bintray.com/tocsoft/npm'
9191

9292
- name: Publish npm package to Github package registry
9393
shell: pwsh
9494
run: npm publish "$((Resolve-Path packages/*.tgz).Path)"
9595
env:
96-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96+
NODE_AUTH_TOKEN: ${{ secrets.BINTRAY_TOKEN }}
9797

9898
- name: Configure npmjs package registry
9999
if: github.event_name == 'release' && github.event.action == 'created'

0 commit comments

Comments
 (0)