Skip to content

Set version to '0.1' #12

Set version to '0.1'

Set version to '0.1' #12

Workflow file for this run

name: dotnet build
on:
workflow_call:
inputs:
build-ref:
required: true
type: string
workflow_dispatch:
push:
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
lfs: true
- uses: dotnet/[email protected]
id: nbgv
- run: dotnet restore
- run: dotnet build -c Release --no-restore
- run: dotnet pack -c Release --no-restore
- uses: actions/upload-artifact@v3
with:
name: FastBertTokenizer-nupkg-${{ steps.nbgv.outputs.Version }}
path: bin/Packages/Release/**/*