Skip to content

Commit

Permalink
Fixes crashing GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
ronelm2000 committed Sep 24, 2024
1 parent 8a9dbcf commit 44192c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Setup .NET 7
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
Expand All @@ -29,13 +29,15 @@ jobs:
dotnet publish ./MontageWeissTools/Montage.Weiss.Tools.csproj -c Release -r linux-x64 -o publish -p:PublishSingleFile=true -p:PublishTrimmed=false --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true --version-suffix 'rc${{ github.run_number }}'
- name: Upload Artifact (win-x64)
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: wstools-win-x64
path: publish/wstools.exe
if-no-files-found: warn
- name: Upload Artifact (linux-x64)
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: wstools-linux-x64
path: publish/wstools
if-no-files-found: warn
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET 7
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Publish
Expand Down

0 comments on commit 44192c3

Please sign in to comment.