quantum-space-buddies/.github/workflows/build.yaml
Chris Yeninas 9054bfe1ff build.yaml: also build on pull request
- additionally sets artifact name to QSB-BRANCHORTAGNAME-RUNID
2021-11-27 05:26:13 -05:00

21 lines
436 B
YAML

name: Build
on:
push:
branches: [dev]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "5.0.x"
- run: dotnet build -c Release
- uses: actions/upload-artifact@v2
with:
name: QSB-${{ env.GITHUB_REF_NAME }}-${{ env.GITHUB_RUN_ID }}
path: .\QSB\Bin\Release