Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Dec 23, 2024
1 parent cf7d965 commit 0dba3b7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Build

on: [ push, pull_request ]

env:
DOTNET_VERSION: '6.0.301'
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
workflow_dispatch:

jobs:
build:
Expand All @@ -13,14 +15,15 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-version: |
6.0.x
8.0.x
9.0.x
- name: Build
run: dotnet build -c Release
#- name: Test
# run: dotnet test --no-build test\Squirrel.Tests\Squirrel.Tests.csproj -c Release -l "console;verbosity=detailed"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 0dba3b7

Please sign in to comment.