Skip to content

Release .NET PDK

Release .NET PDK #1

Workflow file for this run

on:
workflow_dispatch:
name: Release .NET PDK
jobs:
release-sdks:
name: release-dotnet
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install WASI SDK
run: |
mkdir ~/wasi-sdk
cd ~/wasi-sdk/
export WASI_VERSION=20
export WASI_VERSION_FULL=${WASI_VERSION}.0
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz
tar xvf wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz
- name: Setup Go environment
uses: actions/[email protected]
- name: Install Extism CLI
run: |
go install github.com/extism/cli/extism@latest
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 8.0.100-rc.1.23463.5
- name: Install WASI workload
run: |
dotnet workload install wasi-experimental
- name: Test .NET Sdk
run: |
make test
- name: Publish .NET Sdk
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
make publish