Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
X39 committed Feb 1, 2024
1 parent a8b61c7 commit 6ac7522
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 36 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

[*]

# ReSharper properties
Expand Down
43 changes: 21 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: NuGet package publish
on:
push:
Expand All @@ -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 }}
22 changes: 11 additions & 11 deletions .github/workflows/run-dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- 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
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- 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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Maintainers

- [X39](https://github.com/X39)
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,29 +240,36 @@ The `text` control supports the following attributes:
| `Text` | The text to render. Also accepted as XML Content. | Any text | `""` |

#### `border`

<!-- ToDo: Add content -->

#### `image`

<!-- ToDo: Add content -->

#### `line`

<!-- ToDo: Add content -->

#### `pageNumber`

<!-- ToDo: Add content -->

#### `table`

<!-- ToDo: Add content -->

##### `th`

<!-- ToDo: Add content -->

##### `tr`

<!-- ToDo: Add content -->

##### `td`
<!-- ToDo: Add content -->

<!-- ToDo: Add content -->

### Transformers

Expand Down Expand Up @@ -470,7 +477,8 @@ It also ensures that I can remove your contribution if necessary (e.g., because
that I can change your contribution if necessary (e.g., to fix a typo, change implementation details, or improve
performance).
It also shields me and every user of this project from any liability regarding your contribution by deflecting any
potential liability caused by your contribution to you (e.g., if your contribution violates the rights of your employer).
potential liability caused by your contribution to you (e.g., if your contribution violates the rights of your
employer).
Feel free to discuss this agreement in the discussions section of this repository, i am open to changes here (as long as
they do not open me or any other user of this project to any liability due to a **malicious contribution**).

Expand Down

0 comments on commit 6ac7522

Please sign in to comment.