Skip to content

Commit

Permalink
Merge pull request #3 from TheWover/main
Browse files Browse the repository at this point in the history
merge from main
  • Loading branch information
TheWover committed Nov 2, 2020
2 parents 796fd18 + ee256ba commit 598edf3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/DInvoke.NetFramework.CI.Package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: NetFrameWork.Legacy.CI

on:
release:
types: [published]

env:
MAJOR_VERSION: 1
MINOR_VERSION: 0
PATCH_VERSION: 4
jobs:
package:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup Nuget.exe
uses: warrenbuckley/Setup-Nuget@v1
- name: Restore packages
run: nuget restore DInvoke\DInvoke.sln
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
- name: Build with MSBuild
run: msbuild DInvoke\DInvoke.sln -p:Configuration=Release
- name: Display version number
run: echo "VERSION ${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }}"
- name: Pack NuGet
run: nuget pack DInvoke\DInvoke\DInvoke.csproj -Version ${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }} -Prop Configuration=Release
- name: Archive NuGet
uses: actions/upload-artifact@v2
with:
name: NuGet Package
path: DInvoke.${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }}.nupkg
4 changes: 2 additions & 2 deletions DInvoke/DInvoke/DInvoke.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package >
<metadata>
<id>$id$</id>
<version>1.0.3</version>
<version>1.0.4</version>
<title>$title$</title>
<authors>TheWover</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<projectUrl>https://github.com/TheWover/DInvoke</projectUrl>
<description>Dynamically invoke arbitrary unmanaged code from managed code without PInvoke. </description>
<releaseNotes>Initial release.</releaseNotes>
<releaseNotes>Patched error checking in RemoteThreadCreate.</releaseNotes>
<copyright>$copyright$</copyright>
<tags>DInvoke PInvoke Unmanaged Reflection Hooking Injection</tags>
</metadata>
Expand Down

0 comments on commit 598edf3

Please sign in to comment.