Compare commits
10 Commits
0c9c3ed32e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff9676e911 | ||
|
|
7b5006184f | ||
|
|
9b9105e4f4 | ||
|
|
73193fade9 | ||
|
|
5f571f2d4e | ||
|
|
d8aaab2d5b | ||
|
|
9ff6903e86 | ||
|
|
a42fb097fb | ||
|
|
cc89eae951 | ||
|
|
8cdfa32c53 |
@@ -4,12 +4,18 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rid: ["win-x64", "linux-x64"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: build using gcc
|
||||
run: gcc -Wall -Werror main.c -o program
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
name: program
|
||||
path: program
|
||||
dotnet-version: '8.0.x'
|
||||
- run: dotnet restore
|
||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||
- run: tar cf app-${{ matrix.rid }}.tar app/
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-${{ matrix.rid }}.tar
|
||||
path: app-${{ matrix.rid }}.tar
|
||||
|
||||
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!");
|
||||
3
Readme.md
Normal file
3
Readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# give me a job please
|
||||
15k junior .net dev
|
||||
devops 20k
|
||||
10
lab7.csproj
Normal file
10
lab7.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