-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ env: | |
|
||
jobs: | ||
build: | ||
name: Build (Windows) | ||
name: Build on Windows | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -33,17 +33,19 @@ jobs: | |
- name: Install .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
2.1 | ||
dotnet-version: '8.0.x' | ||
- name: List SDKs | ||
shell: pwsh | ||
run: dotnet --list-sdks | ||
- name: Dotnet Tool Restore | ||
shell: pwsh | ||
run: dotnet tool restore | ||
- name: Dotnet Cake Build | ||
- name: Dotnet restore | ||
shell: pwsh | ||
run: dotnet cake --target=Build | ||
- name: Dotnet Cake Pack | ||
run: dotnet restore | ||
- name: Dotnet Cake CI | ||
shell: pwsh | ||
run: dotnet cake --target=Pack | ||
run: dotnet cake --target=CI | ||
- name: Publish artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -63,33 +65,30 @@ jobs: | |
with: | ||
lfs: true | ||
fetch-depth: 0 | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: build-artifacts | ||
path: "./artifacts" | ||
- name: Install .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
8.0.x | ||
- name: Dotnet Tool Restore | ||
shell: pwsh | ||
run: dotnet tool restore | ||
- name: Dotnet restore | ||
shell: pwsh | ||
run: dotnet restore | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: build-artifacts | ||
path: "./artifacts" | ||
- name: Install AtlasEF | ||
shell: pwsh | ||
run: dotnet tool install --prerelease --add-source ./artifacts atlas-ef | ||
- name: Print SQL from Demo project | ||
shell: pwsh | ||
working-directory: ./src/Atlas.Provider.Demo | ||
run: dotnet atlas-ef -- sqlserver | ||
- name: Dotnet Tool Restore | ||
shell: pwsh | ||
run: dotnet tool restore | ||
- name: Dotnet Cake Build | ||
shell: pwsh | ||
run: dotnet cake --target=Build | ||
- name: Dotnet Cake Test | ||
shell: pwsh | ||
run: dotnet cake --target=Test | ||
|
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
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