Fixes publishing (#156)
This commit is contained in:
parent
69ebb45e59
commit
f408662af1
9 changed files with 7686 additions and 12 deletions
8
.github/workflows/dotnet-core.yml
vendored
8
.github/workflows/dotnet-core.yml
vendored
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
with:
|
||||
path: |
|
||||
~/.nuget/packages/argon2.bindings
|
||||
Projects/Argon2/*
|
||||
Projects/Argon2/**
|
||||
packages/Argon2.Bindings*.nupkg
|
||||
key: ${{ matrix.os }}-argon2-cache-v4-${{ hashFiles('Projects/Argon2/*') }}
|
||||
restore-keys: |
|
||||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
with:
|
||||
path: |
|
||||
~/.nuget/packages/zlib.bindings
|
||||
Projects/ZLib/*
|
||||
Projects/ZLib/**
|
||||
packages/ZLib.Bindings*.nupkg
|
||||
key: ${{ matrix.os }}-zlib-cache-v4-${{ hashFiles('Projects/ZLib/*') }}
|
||||
restore-keys: |
|
||||
|
|
@ -65,12 +65,12 @@ jobs:
|
|||
- name: Build ZLib
|
||||
run: dotnet build -c Release Projects/ZLib/ZLib.csproj
|
||||
- name: Pack ZLib NuGet
|
||||
if: steps.nuget-cache.outputs.cache-hit != 'true'
|
||||
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.nuget-cache.outputs.cache-hit != 'true'
|
||||
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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue