mirror of
https://github.com/WinDurango/WinDurango.UI.git
synced 2026-01-31 00:55:24 +01:00
Maybe now works?
This commit is contained in:
5
.github/workflows/dotnet-desktop.yml
vendored
5
.github/workflows/dotnet-desktop.yml
vendored
@@ -78,8 +78,11 @@ jobs:
|
||||
- name: Restore the application
|
||||
run: dotnet restore
|
||||
|
||||
# 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
|
||||
- name: Publish
|
||||
run: dotnet publish --configuration $env:Configuration --output ./$env:Configuration -r win-x64 /p:Platform=x64
|
||||
run: |
|
||||
dotnet publish --configuration $env:Configuration --output ./$env:Configuration -r win-x64 /p:Platform=x64
|
||||
copy D:/a/WinDurango.UI/WinDurango.UI/Assets/contributors.txt ./$env:Configuration/Assets/contributors.txt
|
||||
env:
|
||||
Configuration: ${{ matrix.configuration }}
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ try:
|
||||
url = contributor.get("html_url", None)
|
||||
contribution_count = str(contributor.get("contributions", None))
|
||||
f.write(name.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + pfp.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + url.replace(";", "WD_CONTRIB_SEMICOLON") + ";" + contribution_count + "\n")
|
||||
print("Wrote contributors.txt to " + os.path.join(os.path.dirname(__file__), "..", "Assets", "contributors.txt"))
|
||||
except:
|
||||
print("Couldn't fetch contributor information.")
|
||||
exit(0)
|
||||
|
||||
Reference in New Issue
Block a user