Publish Aot
This commit is contained in:
2
.github/workflows/github-actions-demo.yml
vendored
2
.github/workflows/github-actions-demo.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore src/Alma
|
run: dotnet restore src/Alma
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet publish -r ${{ matrix.target.runtime }} -o app/ src/Alma
|
run: dotnet publish -c Release -p:PublishAot=true -r ${{ matrix.target.runtime }} -o app/ src/Alma
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: alma-${{ matrix.target.name }}
|
name: alma-${{ matrix.target.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user