Skip to content

Commit

Permalink
test token
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed Sep 22, 2024
1 parent 5677d8a commit 280d34f
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,24 @@ jobs:
runs-on: ubuntu-latest
needs: [versioning]
steps:
- uses: f2calv/gha-dotnet-nuget@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
configuration: ${{ inputs.configuration }}
push-preview: ${{ inputs.push-preview }}
version: ${{ needs.versioning.outputs.version }}
env:
CasCap__GooglePhotosOptions__User: ${{ secrets.GOOGLE_PHOTOS_EMAIL }}
CasCap__GooglePhotosOptions__ClientId: ${{ secrets.GOOGLE_PHOTOS_CLIENTID }}
CasCap__GooglePhotosOptions__ClientSecret: ${{ secrets.GOOGLE_PHOTOS_SECRET }}
- run:
pwd
${{ secrets.GOOGLE_PHOTOS_TOKEN_RESPONSE }} > Google.Apis.Auth.OAuth2.Responses.TokenResponse-${{ secrets.GOOGLE_PHOTOS_EMAIL }}.json
ls -ls
cat Google.Apis.Auth.OAuth2.Responses.TokenResponse-${{ secrets.GOOGLE_PHOTOS_EMAIL }}.json

# - uses: f2calv/gha-dotnet-nuget@v2
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
# configuration: ${{ inputs.configuration }}
# push-preview: ${{ inputs.push-preview }}
# version: ${{ needs.versioning.outputs.version }}
# env:
# CasCap__GooglePhotosOptions__User: ${{ secrets.GOOGLE_PHOTOS_EMAIL }}
# CasCap__GooglePhotosOptions__ClientId: ${{ secrets.GOOGLE_PHOTOS_CLIENTID }}
# CasCap__GooglePhotosOptions__ClientSecret: ${{ secrets.GOOGLE_PHOTOS_SECRET }}
# #FileDataStoreFullPathOverride:

release:
needs: [versioning, build]
Expand Down

0 comments on commit 280d34f

Please sign in to comment.