Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidev committed Sep 8, 2024
0 parents commit d89e428
Show file tree
Hide file tree
Showing 8 changed files with 1,156 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and release

on:
push:
tags:
- v*

env:
LIB_NAME: ProLeakEngine

jobs:
build-and-release:

runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0

- name: Restore NuGet Packages
run: dotnet restore

- name: Build Library
run: dotnet build --configuration Release

- name: Zip Artifact
run: zip -rjD ${{ env.LIB_NAME }}.zip ${{ github.workspace }}/bin/Release/**/${{ env.LIB_NAME }}.dll

- name: Create Release
uses: ncipollo/release-action@v1
with:
name: ${{ env.LIB_NAME }} ${{ github.ref_name }}
artifacts: ${{ env.LIB_NAME }}.zip
body: |
Release of ${{ env.LIB_NAME }} ${{ github.ref_name }}
generateReleaseNotes: true
makeLatest: true
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/bin/
**/obj/
**/.idea/
*.snk
.*.png
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
all: clean build

clean:
@dotnet clean ProLeakEngine.csproj

build:
@dotnet build ProLeakEngine.csproj
Loading

0 comments on commit d89e428

Please sign in to comment.