Compare commits
9 Commits
270e0fc404
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
384de16708 | ||
|
|
6fbe5c5612 | ||
|
|
c640b07d98 | ||
|
|
ce561cca8f | ||
|
|
4da3205320 | ||
|
|
30c95e783a | ||
|
|
4ad999e0fc | ||
|
|
b9c00472c6 | ||
|
|
ba9c534cd6 |
@@ -5,6 +5,19 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
rid: ["win-x64", "linux-x64"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Printing hello
|
- uses: actions/checkout@v4
|
||||||
run: echo "Hello"
|
|
||||||
|
- uses: actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
|
- run: dotnet restore
|
||||||
|
|
||||||
|
- run: dotnet publish -o app -r ${{ matrix.rid }} --self-contained true /p:PublishSingleFile=true
|
||||||
|
|
||||||
|
|||||||
2
Program.cs
Normal file
2
Program.cs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
Console.WriteLine("Hello, World!");
|
||||||
10
citest.csproj
Normal file
10
citest.csproj
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
Reference in New Issue
Block a user