[ACL-231] Support for generate idempotency keys when not provided #511
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
- '**/**' | |
workflow_dispatch: | |
inputs: | |
verbosity: | |
description: "Cake Build Verbosity" | |
required: true | |
default: "Normal" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 9.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 9.0.x | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Setup .NET 3.1 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 3.1.x | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Run the build script | |
uses: cake-build/cake-action@v2 | |
env: | |
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TrueLayer__ClientId: ${{ secrets.TRUELAYER__CLIENTID }} | |
TrueLayer__ClientSecret: ${{ secrets.TRUELAYER__CLIENTSECRET }} | |
TrueLayer__Payments__SigningKey__KeyId: ${{ secrets.TRUELAYER__PAYMENTS__SIGNINGKEY__KEYID }} | |
with: | |
cake-version: 5.0.0 | |
target: CI | |
verbosity: ${{ github.event.inputs.verbosity }} | |
- name: Upload pre-release packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: packages | |
path: artifacts/*.nupkg |