Automated run of Wintuner for Gtihub actions,
Caution
Running this for production on public runners might be risky, recommended to run on local runners in a high security context!
First copy this template
Edit config.json by copying the template and add your required pieces of config,
the only required property is the "name"
All available properties are as follows;
{
"name": "Notepad++.Notepad++", #PackageId
"type": "wintuner", #For future use
"version": "latest", #If you wan a specific version deployed! if specified, this app will not be updated!
"Availablefor": "AllUsers", #Insert Allusers or a group id, defaults to allusers
"RequiredFor": null, #Insert Allusers or a group id, defaults to null
}
Then populate your github secrets as follows;
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_TENANT_ID
NOTE Implementation based upon svrooij/WingetIntune#74 (comment)
Two action will be created,
The add action only runs on push and will run to add the app to your Intune instance
The Update action will run periodically (Daily) by default and will update and superseed and cleanup your old apps.
The Wintuner module is the work of https://github.com/svrooij and you can learn more about it on https://wintuner.app/