Skip to content

Commit

Permalink
Setup dotnet only once in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Dec 27, 2024
1 parent 92d56b0 commit 26c57a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
- name: "Setup Dotnet for use with actions"
uses: actions/setup-dotnet@v4
with:
global-json-file: Fronter.NET/global.json
#global-json-file: Fronter.NET/global.json
global-json-file: global.json
- name: "Replace frontend background image"
run: |
rm Fronter.NET/Fronter.NET/Assets/Images/background.png
Expand All @@ -83,10 +84,10 @@ jobs:
BACKBLAZE_KEY_ID: ${{ secrets.BACKBLAZE_KEY_ID }}
BACKBLAZE_APPLICATION_KEY: ${{ secrets.BACKBLAZE_APPLICATION_KEY }}
BACKBLAZE_BUCKET_ID: ${{ secrets.BACKBLAZE_BUCKET_ID }}
- name: "Setup Dotnet for use with actions"
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
# - name: "Setup Dotnet for use with actions"
# uses: actions/setup-dotnet@v4
# with:
# global-json-file: global.json
- name: "Build backend"
working-directory: ImperatorToCK3
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"version": "9.0.100",
"allowPrerelease": true,
"rollForward": "latestPatch"
"rollForward": "disable"
}
}

0 comments on commit 26c57a4

Please sign in to comment.