[GitHubActions] generator: typed workflow_dispatch inputs (string, boolean, number, choice, environment)
#382
Workflow file for this run
This file contains hidden or 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
| # ------------------------------------------------------------------------------ | |
| # <auto-generated> | |
| # | |
| # This code was generated. | |
| # | |
| # - To turn off auto-generation set: | |
| # | |
| # [GitHubActions (AutoGenerate = false)] | |
| # | |
| # - To trigger manual generation invoke: | |
| # | |
| # fallout --generate-configuration GitHubActions_ubuntu-latest --host GitHubActions | |
| # | |
| # </auto-generated> | |
| # ------------------------------------------------------------------------------ | |
| name: ubuntu-latest | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release/*' | |
| - 'support/*' | |
| paths-ignore: | |
| - 'docs/**' | |
| - '.assets/**' | |
| - '**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ubuntu-latest: | |
| name: ubuntu-latest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | |
| ref: ${{ github.head_ref }} | |
| - name: 'Cache: .fallout/temp, ~/.nuget/packages' | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .fallout/temp | |
| ~/.nuget/packages | |
| key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} | |
| - name: 'Setup: .NET SDK' | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: global.json | |
| - name: 'Restore: dotnet tools' | |
| run: dotnet tool restore | |
| - name: 'Run: Test, Pack' | |
| run: dotnet fallout Test Pack |