Fix: ci.yml
This commit is contained in:
parent
849675a1d6
commit
71677c1c54
@ -13,8 +13,7 @@ jobs:
|
|||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
- run: dotnet build
|
- run: dotnet build
|
||||||
- run: dotnet test
|
- run: dotnet test
|
||||||
- run: dotnet publish -o app -r linux-x64 --sc
|
- run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app
|
||||||
/p:PublishSingleFile=true,AssemblyName=app
|
|
||||||
- run: tar cf app.tar app/
|
- run: tar cf app.tar app/
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -23,7 +22,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: app.tar
|
name: app.tar
|
||||||
- run: tar xf app.tar
|
- run: tar xf app.tar
|
||||||
- run: ./app/app
|
- run: ./app/app
|
||||||
|
Loading…
Reference in New Issue
Block a user