GithubHelp home page GithubHelp logo

havendv / workflows Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 205 KB

Reusable workflows

reusable-workflows dotnet msbuild publish nuget conventional-commits auto-release release-notes release-notes-generator ci

workflows's Introduction

Using

name: Build, test and publish
on: [ push ]

jobs:
  build-test-publish:
    name: Build, test and publish
    uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main
    secrets:
      nuget-key: ${{ secrets.NUGET_KEY }}
    with:
      asset-path1: src/installers/UpworkPdfGenerator.Installers.Wpf.NetFramework/UpworkPdfGenerator.msi
      asset-name1: UpworkPdfGenerator.msi

Explanation

This workflow is for developing and releasing a NuGet package by a small number of people on the same branch.
It is based on the Conventional Commits specification and will only release new releases if they contain fix/feat/perf commit types.
It automatically generates a build number (BUILD_NUMBER environment variable).
It also automatically generates Package Release Notes based on the latest commits (PACKAGE_RELEASE_NOTES environment variable).
Requires a nuget-key secret that will be able to load your NuGet packages.

Inputs

name type default
os string 'ubuntu-latest'
dotnet-version string '6.0.x'
additional-dotnet-version string ''
include-prerelease boolean true
workloads string ''
windows-sdk-version string ''
windows-sdk-version2 string ''
windows-sdk-version3 string ''
windows-sdk-version4 string ''
generate-build-number boolean true
fetch-depth number 0
conventional-commits-publish-conditions boolean true
project-path string ''
additional-project-path string ''
configuration string 'Release'
use-msbuild boolean false
vs-prerelease boolean true
run-tests boolean true
asset-path1 string ''
asset-path2 string ''
asset-path3 string ''
asset-name1 string ''
asset-name2 string ''
asset-name3 string ''
asset-content-type1 string 'application/x-msi'
asset-content-type2 string 'application/x-msi'
asset-content-type3 string 'application/x-msi'
deploy-web-assembly-path string ''
deploy-web-assembly-repo string ''

Secrets

name type default
nuget-key string ''
personal-token string ''

Contacts

workflows's People

Contributors

havendv avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.