Fixes publishing (#156)

This commit is contained in:
Kamron Batman 2020-05-29 17:31:47 -07:00 committed by GitHub
parent 69ebb45e59
commit f408662af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 7686 additions and 12 deletions

View file

@ -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'