yoavain / Setup-CSC

Set up your GitHub Actions workflow to add csc.exe into the PATH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-CSC

Actions Status types commit Known Vulnerabilities Renovate used by visitors

This action sets up csc.exe as a CLI tool for use in actions by:

  • optionally downloading and caching a version of VSWhere.exe to help find the latest CSC on the machine
  • Adds the location of the CSC to the PATH

Usage

Basic:

steps:
name: ASP.NET CI
on: [push]
jobs:
  build:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@master

    - name: Setup csc.exe
      uses: yoavain/Setup-CSC@v5

    - name: CSC
      working-directory: src
      run: csc source.cs

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

About

Set up your GitHub Actions workflow to add csc.exe into the PATH

License:MIT License


Languages

Language:JavaScript 98.5%Language:TypeScript 1.5%