Update release.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
paths-ignore: | ||
- '**/README.md' | ||
- '**/.gitignore' | ||
- '**/LICENSE' | ||
pull_request: | ||
branches: [ "master" ] | ||
paths-ignore: | ||
- '**/README.md' | ||
- '**/.gitignore' | ||
- '**/LICENSE' | ||
env: | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
PROJECT_PATH: "./CSSKin/CSSKin.csproj" | ||
PROJECT_NAME: "CSSKin" | ||
OUTPUT_PATH: "./CSSKin" | ||
jobs: | ||
build: | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 7.0.x | ||
- name: Restore | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build ${{ env.PROJECT_PATH }} -c CSSKin -o ${{ env.OUTPUT_PATH } | ||
Check failure on line 37 in .github/workflows/build.yml GitHub Actions / BuildInvalid workflow file
|