Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed May 7, 2024
1 parent e685134 commit 392871e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
cd csharp-client
mkdir -p .github/workflows/
printf '%s\n' 'name: Build' 'on:' ' push:' ' branches: [ main ]' ' pull_request:' ' branches: [ main ]' 'jobs:' ' build:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up dotnet' ' uses: actions/setup-dotnet@v3' ' with:' ' dotnet-version: "8.x"' ' - name: Install deps' ' run: dotnet restore' ' - name: Build' ' run: dotnet build' ' - name: Test' ' run: dotnet test' > .github/workflows/build.yml
printf '%s\n' 'name: Build' 'on:' ' release:' ' types: [ created ]' 'jobs:' ' deploy:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up dotnet' ' uses: actions/setup-dotnet@v3' ' with:' ' dotnet-version: "8.x"' ' env:' ' NUGET_AUTH_TOKEN: secrets.NUGET_TOKEN' ' - name: Build' ' run: dotnet build --configuration Release' ' - name: Package' ' run: dotnet pack --configuration Release' ' - name: Publish' ' run: dotnet nuget push src/Dofusdude.Api/bin/Release/Dofusdude.Api.${{steps.api-version-print.outputs.apiVersion}}.nupkg' > .github/workflows/publish.yml
printf '%s\n' 'name: Build' 'on:' ' release:' ' types: [ created ]' 'jobs:' ' deploy:' ' runs-on: ubuntu-latest' ' steps:' ' - uses: actions/checkout@v4' ' - name: Set up dotnet' ' uses: actions/setup-dotnet@v3' ' with:' ' dotnet-version: "8.x"' ' env:' ' NUGET_AUTH_TOKEN: secrets.NUGET_TOKEN' ' - name: Build' ' run: dotnet build --configuration Release' ' - name: Package' ' run: dotnet pack --configuration Release' ' - name: Publish' ' run: dotnet nuget push -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json src/Dofusdude.Api/bin/Release/Dofusdude.Api.${{steps.api-version-print.outputs.apiVersion}}.nupkg' > .github/workflows/publish.yml
sed -i 's/<Authors>OpenAPI<\/Authors>/<Authors>stelzo<\/Authors>/g' src/Dofusdude.Api/Dofusdude.Api.csproj
sed -i 's/GIT_USER_ID/dofusdude/g' src/Dofusdude.Api/Dofusdude.Api.csproj
sed -i 's/GIT_REPO_ID/dofusdude-csharp/g' src/Dofusdude.Api/Dofusdude.Api.csproj
Expand Down

0 comments on commit 392871e

Please sign in to comment.