Skip to content

Commit

Permalink
Update CI/CD pipelines to not use deprecated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Plenyx committed Jan 12, 2025
1 parent 481f73a commit 2a5a57c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
# Do not run duplicate actions on pull_request.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# This is a workaround for issue https://github.com/actions/virtual-environments/issues/1090,
Expand All @@ -35,17 +35,17 @@ jobs:
mkdir -p artifacts/pdb/uploader/win64/
mv artifacts/uploader/win64/*.pdb artifacts/pdb/uploader/win64/
- name: Upload PlenBotLogUploader (Windows)
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: PlenBotLogUploader (Windows, netv8)
path: artifacts/uploader/win64/PlenBotLogUploader.exe
- name: Upload PlenBotLogUploader (Windows, self-contained)
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: PlenBotLogUploader (Windows, self-contained)
path: artifacts/uploader/win64-sc/PlenBotLogUploader.exe
- name: Upload PDB files
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: PDB files
path: artifacts/pdb/
6 changes: 3 additions & 3 deletions .github/workflows/release-uploader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# This is a workaround for issue https://github.com/actions/virtual-environments/issues/1090,
Expand All @@ -33,7 +33,7 @@ jobs:
mv artifacts/uploader/win64/PlenBotLogUploader.exe artifacts/uploader/win64/PlenBotLogUploader.netv8.exe
mv artifacts/uploader/win64-sc/PlenBotLogUploader.exe artifacts/uploader/win64-sc/PlenBotLogUploader.exe
- name: Prepare release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
Expand Down

0 comments on commit 2a5a57c

Please sign in to comment.