-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
04b6be5
commit da353f5
Showing
53 changed files
with
4,297 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Title | ||
|
||
<!-- A sentence about the issue. --> | ||
|
||
## Description | ||
|
||
<!-- Description of the issue. --> | ||
|
||
### Checklist: | ||
|
||
- [ ] It's a bug report. | ||
- [ ] It's a feature request. | ||
- [ ] Related language label is selected. |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Description | ||
|
||
<!-- A few sentences describing the pull request. --> | ||
|
||
### Related issue(s) | ||
|
||
<!-- If this PR relates to any issues, mention them here. --> | ||
|
||
### Checklist: | ||
|
||
- [ ] It refers to an [Issue](https://github.com/EasyMicroservices/FileManager/issues). | ||
- [ ] It fixes a bug. | ||
- [ ] It's a new feature (non-breaking change which adds functionality) | ||
- [ ] It's a breaking (fix or feature that would cause existing functionality to change) | ||
- [ ] My code follows the code style of this project. | ||
- [ ] I have added tests to cover my changes. | ||
- [ ] All new and existing tests passed. | ||
- [ ] CHANGELOG is updated. | ||
- [ ] Related language label is selected. |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: dotnet format | ||
on: | ||
push: | ||
branches: [develop] | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Run dotnet format | ||
id: format | ||
uses: jfversluis/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
action: "fix" | ||
workspace: "./src/CSharp/EasyMicroservices.SupportsMicroservice.sln" | ||
- name: Test | ||
run: | | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f netcoreapp3.1 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f net6.0 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f net5.0 | ||
- name: Commit files | ||
if: steps.format.outputs.has-changes == 'true' | ||
uses: EndBug/[email protected] | ||
with: | ||
author_name: Github Actions | ||
author_email: [email protected] | ||
message: "chore: Automated dotnet-format update" | ||
ref: ${{ github.head_ref }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Linux Client (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore | ||
- name: Test | ||
run: | | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f netcoreapp3.1 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net6.0 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net5.0 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Linux (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore | ||
- name: Test | ||
run: | | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f netcoreapp3.1 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net6.0 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net5.0 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: MacOS Client (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore | ||
- name: Test | ||
run: | | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f netcoreapp3.1 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net6.0 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net5.0 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: MacOS (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore | ||
- name: Test | ||
run: | | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f netcoreapp3.1 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net6.0 | ||
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net5.0 |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Windows Client (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore | ||
- name: Test | ||
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Windows (dotnet build and test) | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
os-tests: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install Android | ||
run: dotnet workload install android | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore | ||
- name: Test | ||
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: NuGet Push Public Client | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
build-test-prep-push: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
env: | ||
DOTNET_INSTALL_DIR: /usr/share/dotnet | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore | ||
- name: Test | ||
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal | ||
- name: Create the package | ||
run: dotnet pack ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --output nupkgs | ||
- name: Publish the package to NuGet.org | ||
run: dotnet nuget push nupkgs\*.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: NuGet Push Public | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
build-test-prep-push: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
env: | ||
DOTNET_INSTALL_DIR: /usr/share/dotnet | ||
- name: Restore dependencies | ||
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln | ||
- name: Build | ||
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore | ||
- name: Test | ||
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal | ||
- name: Create the package | ||
run: dotnet pack ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --output nupkgs | ||
- name: Publish the package to NuGet.org | ||
run: dotnet nuget push nupkgs\*.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate |
Oops, something went wrong.