Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhaugen authored Dec 14, 2023
1 parent d30b243 commit 94a153b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
branches: [main]
release:
types: [published]

env:
DOTNET_VERSION: '7.0.*'

jobs:
prepare_versions:
Expand Down Expand Up @@ -41,7 +38,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ DOTNET_VERSION }}
dotnet-version: 7.0.x
- name: Build (Conditional Versioning)
run: |
if [ "${{ github.event_name }}" = "pull_request" ] || [ "${{ github.event_name }}" = "push" ]; then
Expand Down Expand Up @@ -69,7 +66,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ DOTNET_VERSION }}
dotnet-version: 7.0.x
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
Expand All @@ -88,7 +85,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ DOTNET_VERSION }}
dotnet-version: 7.0.x
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 94a153b

Please sign in to comment.