Compare commits
5 Commits
459e29b97d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c380e85691 | ||
|
|
2ca3357f1b | ||
|
|
5b5578c111 | ||
|
|
acdad02cab | ||
|
|
cb1cf790b4 |
@@ -4,14 +4,18 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rid: ["win-x64", "linux-x64"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
- run: dotnet restore
|
||||
- run: dotnet build
|
||||
test:
|
||||
steps:
|
||||
- name: trying to run
|
||||
run: dotnet run
|
||||
- run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app
|
||||
- run: tar cf app=${{ matrix.rid }}.tar app/
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-${{ matrix.rid }}.tar
|
||||
path: app-${{ matrix.rid }}.tar
|
||||
Reference in New Issue
Block a user