Skip to content

Backport add interop option ThrowOnUnresolvedMember (#1905) #38

Backport add interop option ThrowOnUnresolvedMember (#1905)

Backport add interop option ThrowOnUnresolvedMember (#1905) #38

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Test
run: dotnet test --configuration Release --logger GitHubActions
- name: Pack with dotnet
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]}"
VERSION="${VERSION//v}"
echo "$VERSION"
dotnet pack Jint/Jint.csproj --output artifacts --configuration Release -p:Version=$VERSION -p:ContinuousIntegrationBuild=True
- name: Push with dotnet
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json