Skip to content

Commit

Permalink
Remove ADO publish from CI (#1)
Browse files Browse the repository at this point in the history
* Remove ADO publish from CI

* Point to the right repo
  • Loading branch information
tevoinea authored Nov 19, 2021
1 parent be29cba commit 2c6ad00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ jobs:
run: dotnet nuget add source https://nuget.pkg.github.com/microsoft/index.json --password $GITHUB_TOKEN --username notused --store-password-in-clear-text --name cgwriter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add NuGet publication source for Azure Artifacts Packaging feed
run: dotnet nuget add source https://1essharedassets.pkgs.visualstudio.com/1esPkgs/_packaging/ComponentDetection/nuget/v3/index.json --password $AZART_TOKEN --username az --store-password-in-clear-text --name Packaging
env:
AZART_TOKEN: ${{ secrets.AZART_TOKEN }}

- name: Generate NuGet packages
run: dotnet pack -o dist-nuget -c Release
Expand All @@ -76,6 +71,5 @@ jobs:
for f in ./dist-nuget/*.nupkg
do
curl -vX PUT -u "[user]:${{ secrets.GITHUB_TOKEN }}" -F package=@$f https://nuget.pkg.github.com/microsoft/
dotnet nuget push --source "Packaging" --api-key az $f
done
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/verify-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
const res = await github.paginate(
github.actions.listArtifactsForRepo.endpoint.merge({
owner: 'microsoft',
repo: 'componentdetection-bcde',
repo: 'component-detection',
})
);
Expand Down

0 comments on commit 2c6ad00

Please sign in to comment.