Fix naming. Sorry guys #6
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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install SQL Local DB | |
| run: ./Setup.ps1 | |
| shell: pwsh | |
| - name: Build and Test | |
| run: ./Build.ps1 | |
| shell: pwsh | |
| - name: Push to MyGet | |
| env: | |
| NUGET_URL: https://www.myget.org/F/fastmapperdev/api/v3/index.json | |
| NUGET_API_KEY: ${{ secrets.MYGET_CI_API_KEY }} | |
| run: ./Push.ps1 | |
| shell: pwsh | |
| - name: Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: artifacts/**/* |