Skip to content

Conversation

@xunafay
Copy link
Contributor

@xunafay xunafay commented Jul 1, 2025

In een poging om #18 op te lossen heb ik een GetLatestBinaries (het is en blijft een ChipSoft challenge hé) script toegevoegd onder het Scripts folder. Deze gaat de build artifacts van GitHub actions ophalen van de master branch en in de Build/ directory plaatsen.

Er zijn echter nog wel 2 problemen:

  1. Dit gebruikt de github cli tool, GitHub heeft namelijk recent unauthorized downloads van artifacts geblokkeerd

Dit kan opgelost worden door ipv artifacts te maken, github releases te voorzien. Dit heeft maar een kleine aanpassing nodig aan de GH Actions. Dit is wel een 'hacky' solution. Suggesties?

  1. Na een fork moet je dus nog altijd of zelf builden of het script uitvoeren

Dit kan opgelost worden door een git merge hook in te stellen https://git-scm.com/docs/githooks#_post_merge

Script resultaat:
image
image
Met als Build folder:
image

TODO

  • windows script uit testen

@xunafay
Copy link
Contributor Author

xunafay commented Jul 1, 2025

En na al dat werk beseft ik dat je misschien gewoon makkelijker in de git pull hook een dotnet build steekt? Het is niet alsof de build lang genoeg duurt dat het de moeite waard is om met Artifacts te werken

@xunafay xunafay closed this Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant