Compare commits
18 Commits
5e93ea9e1f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 187bf255e7 | |||
| eff61b3f98 | |||
| 6277105476 | |||
| 2012fb9dcb | |||
| 0587b30b5d | |||
| 7e4a5a66fb | |||
| d609949a83 | |||
| 5bdc87c3a9 | |||
| a7d9751fd9 | |||
| 53ca928480 | |||
| 1de4434f6b | |||
| 7618baa326 | |||
| ae00e8cce2 | |||
| 3467335a07 | |||
| b98ba1d66b | |||
| 7030fd20c4 | |||
| f382693ac7 | |||
| 0f62bb12bf |
@@ -4,6 +4,17 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rid: ["win-x64", "linux-x64"]
|
||||
steps:
|
||||
-name: Printing hello
|
||||
run: echo "Hello, "
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '6.0.x'
|
||||
- run: dotnet restore
|
||||
- run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app.tar
|
||||
path: app.tar
|
||||
10
Lab_7.csproj
Normal file
10
Lab_7.csproj
Normal file
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
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!");
|
||||
Reference in New Issue
Block a user