Skip to content

Commit e919c66

Browse files
committed
rename
github actions
1 parent 59e61a0 commit e919c66

File tree

90 files changed

+75
-22
lines changed

Some content is hidden

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

90 files changed

+75
-22
lines changed

.github/workflows/publish-package.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Master - Publish packages
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
env:
8+
PACKAGE_MAJOR_VERSION: 5
9+
PACKAGE_MINOR_VERSION: 0
10+
CURRENT_REPO_URL: https://github.com/${{ github.repository }}
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
working-directory: src
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v2
22+
23+
- name: Setup .NET 5
24+
uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: 5.0.x
27+
28+
- name: Setup .NET Core 3.1
29+
uses: actions/setup-dotnet@v1
30+
with:
31+
dotnet-version: 3.1.x
32+
33+
- name: Generate version
34+
run: echo "PACKAGE_VERSION=$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
35+
36+
- name: Generate Package
37+
run: dotnet pack -c Release -o out -p:PackageVersion=${{env.PACKAGE_VERSION}} -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
38+
39+
- name: Publish the package to nuget.org
40+
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json

.github/workflows/pull-request.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Pull Request Analisys
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: windows-latest
10+
defaults:
11+
run:
12+
working-directory: ./src
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
18+
- name: Setup .NET 5
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 5.0.x
22+
23+
- name: Setup .NET Core 3.1
24+
uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: 3.1.x
27+
28+
- name: Restore dependencies
29+
run: dotnet restore
30+
31+
- name: Build
32+
run: dotnet build --no-restore
33+
34+
- name: Test
35+
run: dotnet test --no-build

README.md

5.42 KB

docs/helldog-site.png

1.43 MB

src/JpProject.AspNetCore.PasswordHasher.Core/JpProject.AspNetCore.PasswordHasher.Core.csproj

Lines changed: 0 additions & 22 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)