Skip to content

v0.4.8

v0.4.8 #251

Workflow file for this run

name: Build, Test, Package
on:
push:
branches: [ master ]
paths:
- 'src/**.csproj'
- 'src/**.cs'
- 'src/**.dll'
- 'src/**.so'
- 'src/**.dylib'
- '.github/workflows/windows-test.yml'
- '.github/workflows/unix-test.yml'
jobs:
windows-test:
uses: ./.github/workflows/windows-test.yml
unix-test:
uses: ./.github/workflows/unix-test.yml
upload-packages:
needs: [windows-test, unix-test]
runs-on: windows-2022
strategy:
matrix:
project:
- 'Core'
- 'Embedded'
- 'Remote.Grpc'
- 'Embedded.NativeAssets.Win-x64'
- 'Embedded.NativeAssets.Win-x86'
- 'Embedded.NativeAssets.Osx-x64'
- 'Embedded.NativeAssets.Linux-x64'
- 'Embedded.NativeAssets.AlpineLinux-x64'
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Caching
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/*.csproj') }} #hash of project files
restore-keys: |
${{ runner.os }}-
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Publish Nuget Package
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: src/ReindexerNet.${{ matrix.project }}/ReindexerNet.${{ matrix.project }}.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
TAG_FORMAT: v*