Moves Argon2 to real nuget (#163)
This commit is contained in:
parent
1246a135f7
commit
561b40c3d8
21 changed files with 43 additions and 718 deletions
19
.github/workflows/dotnet-core.yml
vendored
19
.github/workflows/dotnet-core.yml
vendored
|
|
@ -32,7 +32,6 @@ jobs:
|
|||
with:
|
||||
path: |
|
||||
~/.nuget/packages
|
||||
!~/.nuget/packages/argon2.bindings
|
||||
!~/.nuget/packages/zlib.bindings
|
||||
${{ github.workspace }}/Projects/*/obj/project.assets.json
|
||||
${{ github.workspace }}/Projects/*/obj/project.nuget.cache
|
||||
|
|
@ -40,17 +39,6 @@ jobs:
|
|||
key: ${{ matrix.os }}-nuget-cache-v6-${{ hashFiles('**/packages.lock.json') }}
|
||||
restore-keys: |
|
||||
${{ matrix.os }}-nuget-cache-v3
|
||||
- name: Argon2 Library Cache
|
||||
id: argon2-cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.nuget/packages/argon2.bindings
|
||||
${{ github.workspace }}/Projects/Argon2/**
|
||||
${{ github.workspace }}/packages/Argon2.Bindings*.nupkg
|
||||
key: ${{ matrix.os }}-argon2-cache-v6-${{ hashFiles('Projects/Argon2/*') }}
|
||||
restore-keys: |
|
||||
${{ matrix.os }}-argon2-cache-v4
|
||||
- name: ZLib Library Cache
|
||||
id: zlib-cache
|
||||
uses: actions/cache@v2
|
||||
|
|
@ -67,13 +55,8 @@ jobs:
|
|||
- name: Pack ZLib NuGet
|
||||
if: steps.zlib-cache.outputs.cache-hit != 'true'
|
||||
run: dotnet pack -c Release -o packages Projects/ZLib/ZLib.csproj
|
||||
- name: Build Argon2
|
||||
run: dotnet build -c Release Projects/Argon2/Argon2.csproj
|
||||
- name: Pack Argon2 NuGet
|
||||
if: steps.argon2-cache.outputs.cache-hit != 'true'
|
||||
run: dotnet pack -c Release -o packages Projects/Argon2/Argon2.csproj
|
||||
- name: Restore dependencies
|
||||
if: steps.nuget-cache.outputs.cache-hit != 'true' || steps.argon2-cache.outputs.cache-hit != 'true' || steps.zlib-cache.outputs.cache-hit != 'true'
|
||||
if: steps.nuget-cache.outputs.cache-hit != 'true' || steps.zlib-cache.outputs.cache-hit != 'true'
|
||||
run: dotnet restore --force-evaluate
|
||||
- name: Build Server
|
||||
run: dotnet build -c Release --no-restore Projects/Server/Server.csproj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue