-aInit new .net9.0 project
This commit is contained in:
@@ -8,11 +8,21 @@ jobs:
|
||||
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: '9.0.x'
|
||||
|
||||
- run: dotnet restore
|
||||
- run: dotnet build
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
- name: trying to run
|
||||
run: dotnet run
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Halo, Welt!");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user