Skip to content

Commit a7ce3c9

Browse files
authored
Merge pull request #87 from dotnetprojects/github
Release with github (not appveyor)
2 parents d03ecdd + 42ba64f commit a7ce3c9

File tree

75 files changed

+51
-6034
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+51
-6034
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,20 @@ jobs:
2929
assemblyVersion: ${{ github.event.release.tag_name }}
3030
fileVersion: ${{ github.event.release.tag_name }}
3131
informationalVersion: ${{ github.event.release.tag_name }}-${{ github.sha }}
32-
32+
3333
- name: Build
3434
run: |
3535
dotnet build -c Release Migrator.slnx
36+
37+
- name: Upload to release
38+
uses: AButler/[email protected]
39+
with:
40+
files: 'src/Migrator/bin/Release/net9.0/DotNetProjects.Migrator.${{ github.event.release.tag_name }}.nupkg'
41+
repo-token: ${{ secrets.GITHUB_TOKEN }}
42+
43+
- name: Publish to nuget
44+
run: |
45+
find . -type f -name *.nupkg -print0 | xargs -0 -I pkg dotnet nuget push pkg -k $nuget_api_key -s "https://api.nuget.org/v3/index.json" --skip-duplicate
46+
env:
47+
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
48+
working-directory: ./src/Migrator/bin/Release/net9.0/

HOWTOBUILD.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

Migrator.sln

Lines changed: 0 additions & 51 deletions
This file was deleted.

Migrator.slnx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
<Project Path="src/Migrator/DotNetProjects.Migrator.csproj" />
44
</Folder>
55
<Folder Name="/Extras/">
6-
<File Path="doc/README.txt" />
7-
<File Path="doc/TODO.txt" />
8-
<File Path="src/MigratorDotNet.snk" />
6+
<File Path="README.md" />
97
</Folder>
108
<Folder Name="/Extras/.github/" />
119
<Folder Name="/Extras/.github/workflows/">
12-
<File Path=".github/workflows/dotnet.yml" />
1310
<File Path=".github/workflows/dotnetpull.yml" />
1411
<File Path=".github/workflows/release.yml" />
1512
</Folder>
File renamed without changes.

appveyor.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

build.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

contrib/Migrator.Web/Default.aspx

Lines changed: 0 additions & 61 deletions
This file was deleted.

contrib/Migrator.Web/Default.aspx.cs

Lines changed: 0 additions & 133 deletions
This file was deleted.

contrib/Migrator.Web/Global.asax

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)