This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,11 @@ jobs:
1717 env :
1818 MSGRAPH_DOCKER_REGISTRY_URL : docker.pkg.github.com
1919 PACKAGE_VERSION : ${{github.event.inputs.tag || github.ref_name || 'v0.1.0'}}
20- NUGET_USER : ${{ secrets.NUGET_USER }}
21- NUGET_TOKEN : ${{ secrets.NUGET_PASSWORD }}
2220 steps :
2321 - id : get-version
2422 run : |
2523 PACKAGE_VERSION=$(echo $PACKAGE_VERSION | sed s/^v//)
2624 echo "::set-output name=version::$PACKAGE_VERSION"
27- - name : Prepare secret files
28- run : |
29- echo $NUGET_USER > nuget_user.txt
30- echo $NUGET_TOKEN > nuget_token.txt
3125 - name : Check out the repo
3226 uses : actions/checkout@v3
3327 with :
4539 with :
4640 push : true
4741 tags : docker.pkg.github.com/microsoftgraph/msgraph-cli/msgraph-cli:nightly
42+ secrets : |
43+ "user=${{ secrets.NUGET_USER }}"
44+ "token=${{ secrets.NUGET_PASSWORD }}"
4845 - name : Push to GitHub Packages - Release
4946 if : contains(github.ref, 'refs/tags/v')
50475148 with :
5249 push : true
5350 tags : docker.pkg.github.com/microsoftgraph/msgraph-cli/msgraph-cli:latest,docker.pkg.github.com/microsoftgraph/msgraph-cli/msgraph-cli:${{ steps.get-version.outputs.version }}
51+ secrets : |
52+ "user=${{ secrets.NUGET_USER }}"
53+ "token=${{ secrets.NUGET_PASSWORD }}"
You can’t perform that action at this time.
0 commit comments