Skip to content

Commit

Permalink
Merge pull request #46 from CHG-MERIDIAN/twenzel-patch-1
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
twenzel authored Oct 1, 2024
2 parents d813918 + a167606 commit 3037544
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,41 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]

release:
types: [published,edited]

jobs:
build:

runs-on: windows-latest

steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.11
distribution: 'zulu'
java-version: 17

- name: Get the sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow

- name: Setup dotnet
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
- name: Run Cake script
uses: cake-build/cake-action@v1
uses: cake-build/cake-action@v2
with:
verbosity: Verbose
target: Default
cake-version: tool-manifest
verbosity: Diagnostic
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN_SECURITYTXT }}
Expand Down

0 comments on commit 3037544

Please sign in to comment.