Skip to content

zif fix

zif fix #10

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET Release
on:
push:
tags: [ "v*.*.*" ]
jobs:
build:
permissions: write-all
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet publish --configuration Release --output ./publish
- name: Create Zip Archive
run: 7z a $GITHUB_SHA.zip ./publish/*
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./$GITHUB_SHA.zip
tag_name: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}