WIP: Build & Release
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -42,9 +42,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
dotnet build --configuration Release --no-restore
|
dotnet build --configuration Release --no-restore
|
||||||
dotnet publish --configuration Release --framework net9.0 --runtime linux-x64 --self-contained false --output ./WebApiBuild
|
dotnet publish --configuration Release --framework net9.0 --runtime linux-x64 --self-contained false --output ./WebApiBuild
|
||||||
- name: Remove appsettings.Development.json
|
- name: Clean up
|
||||||
working-directory: WebAPI
|
working-directory: WebAPI
|
||||||
run: rm ./WebApiBuild/appsettings.Development.json
|
run: |
|
||||||
|
rm ./WebApiBuild/appsettings.Development.json
|
||||||
|
rm ./WebApiBuild/client_secrets.Development.json
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user