-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
48 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
[*] | ||
|
||
# ReSharper properties | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
name: NuGet package publish | ||
on: | ||
push: | ||
|
@@ -8,24 +7,24 @@ jobs: | |
upload-to-npgk: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Setup NuGet.exe for use with actions | ||
uses: NuGet/[email protected] | ||
with: | ||
nuget-version: latest | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --framework net8.0 --no-build --verbosity normal | ||
- name: Pack | ||
# CHANGE PACKAGE VERSION - The retarded way | ||
# Change the /p:VERSION=X.X.X part to change the actual package version. | ||
run: dotnet pack --configuration Release /p:VERSION=4.0.0.${{ github.run_number }} --version-suffix ${{ github.sha }} | ||
- name: Upload to NuGet | ||
run: dotnet nuget push ./source/X39.Solutions.PdfTemplate/bin/Release/X39.Solutions.PdfTemplate.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Setup NuGet.exe for use with actions | ||
uses: NuGet/[email protected] | ||
with: | ||
nuget-version: latest | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --framework net8.0 --no-build --verbosity normal | ||
- name: Pack | ||
# CHANGE PACKAGE VERSION - The retarded way | ||
# Change the /p:VERSION=X.X.X part to change the actual package version. | ||
run: dotnet pack --configuration Release /p:VERSION=4.0.0.${{ github.run_number }} --version-suffix ${{ github.sha }} | ||
- name: Upload to NuGet | ||
run: dotnet nuget push ./source/X39.Solutions.PdfTemplate/bin/Release/X39.Solutions.PdfTemplate.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
.idea/.idea.X39.Solutions.PdfTemplate/.idea/codeStyles/codeStyleConfig.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Maintainers | ||
|
||
- [X39](https://github.com/X39) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters