Skip to content

Hcsshim wrapper over HNS API needed for exclusion of management mac a… #50

Hcsshim wrapper over HNS API needed for exclusion of management mac a…

Hcsshim wrapper over HNS API needed for exclusion of management mac a… #50

Workflow file for this run

name: Build & Release
on:
push:
tags:
- 'v*'
env:
GO_VERSION: "1.21.x"
jobs:
build:
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: go build ./cmd/dmverity-vhd
- run: go build ./cmd/dmverity-vhd
env:
GOOS: linux
GOARCH: amd64
- uses: actions/upload-artifact@v4
with:
name: binaries
path: |
dmverity-vhd.exe
dmverity-vhd
draft_release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: binaries
- name: Publish draft release
uses: softprops/action-gh-release@v2.0.5
with:
# This is to make sure that the release is not created if a non-rc tag is pushed
draft: true
generate_release_notes: true
files: |
dmverity-vhd.exe
dmverity-vhd