Skip to content

Commit

Permalink
add dotnet update script
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse authored Oct 22, 2024
1 parent 31cc7ca commit f023f5d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ jobs:
runs-on: windows-2022

steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4.2.1

- name: Find and Replace
run: ((Get-Content -path "Battlefield rich presence\\Jwt.cs" -Raw) -replace 'SUPERSECRETPLACEHOLDER','${{ secrets.JWTTOKEN }}') | Set-Content -Path "Battlefield rich presence\Jwt.cs"

- name: Update dotnet
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Setup Nuget
uses: Nuget/setup-nuget@v1.0.6
uses: Nuget/setup-nuget@v2.0.0

- name: Find devenv.com and add it to PATH
run: |
Expand Down

0 comments on commit f023f5d

Please sign in to comment.