Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit c4b9d84

Browse files
authored
Merge pull request #1 from TechNobre/dev
Start project
2 parents 1bd0f53 + 59e2eba commit c4b9d84

File tree

10 files changed

+900
-0
lines changed

10 files changed

+900
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI/CD
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@main
14+
15+
- name: Set up .NET Core
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: '6.0.x'
19+
20+
- name: Build with dotnet
21+
run: dotnet build --configuration Release
22+
23+
- name: Test
24+
run: dotnet test
25+
26+
- name: Create the Package
27+
run: dotnet pack --configuration Release
28+
29+
- name: Publish
30+
run: dotnet nuget push "./src/bin/PowerUtils.Net.Primitives.*.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)