Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tides committed Nov 24, 2024
1 parent 867a154 commit 2886413
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.0
dotnet-version: 9.0.0
- name: Install DocFX
run: dotnet tool update -g docfx
continue-on-error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
include-prerelease: true
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release /p:DebugType=None
- name: Rename executables
working-directory: /home/runner/work/Obsidian/Obsidian/Obsidian.ConsoleApp/bin/Release/net8.0/
working-directory: /home/runner/work/Obsidian/Obsidian/Obsidian.ConsoleApp/bin/Release/net9.0/
run: |
mv Obsidian.ConsoleApp.dll ObsidianApp.dll
mv Obsidian.ConsoleApp.deps.json ObsidianApp.deps.json
Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Obsidian-Nightly-Build
path: /home/runner/work/Obsidian/Obsidian/Obsidian.ConsoleApp/bin/Release/net8.0/
path: /home/runner/work/Obsidian/Obsidian/Obsidian.ConsoleApp/bin/Release/net9.0/
if: ${{ github.event_name == 'push' }} # Only upload artifacts on push, don't upload them for PRs
- name: Discord Webhook Action
uses: tsickert/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nuget-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
9
8
7
- name: Pack n Push
Expand Down

0 comments on commit 2886413

Please sign in to comment.