Skip to content

Publish

Publish #8

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Get Version
uses: kzrnm/[email protected]
id: get-version
with:
proj-path: src/OneWare.VhdpExtension/OneWare.VhdpExtension.csproj
- name: Build
run: dotnet build src/OneWare.VhdpExtension/OneWare.VhdpExtension.csproj -c Release -o publish
- name: Compress
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: ../OneWare.VhdpExtension_${{steps.get-version.outputs.version}}_all.zip
directory: ./publish
- name: Debug
run: ls
- uses: ncipollo/[email protected]
with:
artifacts: "OneWare.VhdpExtension_${{steps.get-version.outputs.version}}_all.zip"
tag: ${{steps.get-version.outputs.version}}
allowUpdates: true