Skip to content

Commit d075175

Browse files
committed
Maybe now works?
1 parent eafdfb6 commit d075175

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ jobs:
7878
- name: Restore the application
7979
run: dotnet restore
8080

81+
# We copy the contributors to the "env:Configuration" result, the origin path is now hardcoded so if ever the repo name changes this needs to be changed too
8182
- name: Publish
82-
run: dotnet publish --configuration $env:Configuration --output ./$env:Configuration -r win-x64 /p:Platform=x64
83+
run: |
84+
dotnet publish --configuration $env:Configuration --output ./$env:Configuration -r win-x64 /p:Platform=x64
85+
copy D:/a/WinDurango.UI/WinDurango.UI/Assets/contributors.txt ./$env:Configuration/Assets/contributors.txt
8386
env:
8487
Configuration: ${{ matrix.configuration }}
8588

BuildScripts/contributors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
url = contributor.get("html_url", None)
2424
contribution_count = str(contributor.get("contributions", None))
2525
f.write(name.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + pfp.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + url.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + contribution_count + "\n")
26-
print("Wrote contributors.txt to " + os.path.join(os.path.dirname(__file__), "..", "Assets", "contributors.txt"))
2726
except:
2827
print("Couldn't fetch contributor information.")
2928
exit(0)

0 commit comments

Comments
 (0)