Update actions/upload-artifact action to v6 (#89) #234
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: Build Azure Function | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get the sources | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install .NET Core SDK (global.json) | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| - name: Publish | |
| run: dotnet publish src --output ./artifacts | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: SqlBulkSyncFunction | |
| path: artifacts |