New organisation and creation of packages
|
@ -68,7 +68,7 @@ jobs:
|
||||||
- name: Overwrite Version.txt file
|
- name: Overwrite Version.txt file
|
||||||
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
|
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
|
||||||
with:
|
with:
|
||||||
path: Winget-AutoUpdate/Version.txt
|
path: Sources/WAU/Winget-AutoUpdate/Version.txt
|
||||||
write-mode: overwrite
|
write-mode: overwrite
|
||||||
contents: ${{ steps.versioning.outputs.version }}
|
contents: ${{ steps.versioning.outputs.version }}
|
||||||
|
|
||||||
|
@ -82,23 +82,35 @@ jobs:
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
# Get MDT from Microsoft
|
echo "### Get MDT from Microsoft ###"
|
||||||
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
|
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
|
||||||
# Extract MSI
|
|
||||||
|
echo "### Extract MSI ###"
|
||||||
7z x MicrosoftDeploymentToolkit_x64.msi
|
7z x MicrosoftDeploymentToolkit_x64.msi
|
||||||
# Copy ServiceUI.exe to Winget-AutoUpdate folder
|
|
||||||
mv Modena_File206 Winget-AutoUpdate/ServiceUI.exe
|
echo "### Copy ServiceUI.exe to 'Sources/WAU/Winget-AutoUpdate' folder ###"
|
||||||
# Zip WAU
|
mv Modena_File206 Sources/WAU/Winget-AutoUpdate/ServiceUI.exe -v
|
||||||
zip -r WAU.zip Winget-AutoUpdate
|
|
||||||
zip WAU.zip Winget-AutoUpdate-Install.ps1
|
echo "### Go to Sources ###"
|
||||||
zip WAU.zip excluded_apps.txt
|
cd Sources
|
||||||
zip WAU.zip Gui.ps1
|
|
||||||
zip WAU.zip "WAU Configurator.lnk"
|
echo "### Zip WAU ###"
|
||||||
# Zip ADMX
|
cd WAU
|
||||||
cd Policies
|
zip -r ../../WAU.zip Winget-AutoUpdate
|
||||||
zip -r ../WAU_ADMX.zip *
|
zip ../../WAU.zip Winget-AutoUpdate-Install.ps1
|
||||||
|
zip ../../WAU.zip excluded_apps.txt
|
||||||
cd ..
|
cd ..
|
||||||
# Add install counter
|
|
||||||
|
echo "### Zip WAU-Configurator ###"
|
||||||
|
zip -r ../WAU-Configurator.zip WAU
|
||||||
|
zip ../WAU-Configurator.zip "WAU Configurator.lnk"
|
||||||
|
|
||||||
|
echo "### Zip ADMX ###"
|
||||||
|
cd Policies
|
||||||
|
zip -r ../../WAU_ADMX.zip *
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
echo "### Create install counter file ###"
|
||||||
echo "Install counter file." > WAU_InstallCounter
|
echo "Install counter file." > WAU_InstallCounter
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Overwrite Version.txt file
|
- name: Overwrite Version.txt file
|
||||||
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
|
uses: DamianReeves/write-file-action@0a7fcbe1960c53fc08fe789fa4850d24885f4d84 # v1.2
|
||||||
with:
|
with:
|
||||||
path: Winget-AutoUpdate/Version.txt
|
path: Sources/WAU/Winget-AutoUpdate/Version.txt
|
||||||
write-mode: overwrite
|
write-mode: overwrite
|
||||||
contents: "${{ steps.versioning.outputs.version }}"
|
contents: "${{ steps.versioning.outputs.version }}"
|
||||||
|
|
||||||
|
@ -55,23 +55,35 @@ jobs:
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
# Get MDT from Microsoft
|
echo "### Get MDT from Microsoft ###"
|
||||||
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
|
wget https://download.microsoft.com/download/3/3/9/339BE62D-B4B8-4956-B58D-73C4685FC492/MicrosoftDeploymentToolkit_x64.msi
|
||||||
# Extract MSI
|
|
||||||
|
echo "### Extract MSI ###"
|
||||||
7z x MicrosoftDeploymentToolkit_x64.msi
|
7z x MicrosoftDeploymentToolkit_x64.msi
|
||||||
# Copy ServiceUI.exe to Winget-AutoUpdate folder
|
|
||||||
mv Modena_File206 Winget-AutoUpdate/ServiceUI.exe
|
echo "### Copy ServiceUI.exe to 'Sources/WAU/Winget-AutoUpdate' folder ###"
|
||||||
# Zip WAU
|
mv Modena_File206 Sources/WAU/Winget-AutoUpdate/ServiceUI.exe -v
|
||||||
zip -r WAU.zip Winget-AutoUpdate
|
|
||||||
zip WAU.zip Winget-AutoUpdate-Install.ps1
|
echo "### Go to Sources ###"
|
||||||
zip WAU.zip excluded_apps.txt
|
cd Sources
|
||||||
zip WAU.zip Gui.ps1
|
|
||||||
zip WAU.zip "WAU Configurator.lnk"
|
echo "### Zip WAU ###"
|
||||||
# Zip ADMX
|
cd WAU
|
||||||
cd Policies
|
zip -r ../../WAU.zip Winget-AutoUpdate
|
||||||
zip -r ../WAU_ADMX.zip *
|
zip ../../WAU.zip Winget-AutoUpdate-Install.ps1
|
||||||
|
zip ../../WAU.zip excluded_apps.txt
|
||||||
cd ..
|
cd ..
|
||||||
# Add install counter
|
|
||||||
|
echo "### Zip WAU-Configurator ###"
|
||||||
|
zip -r ../WAU-Configurator.zip WAU
|
||||||
|
zip ../WAU-Configurator.zip "WAU Configurator.lnk"
|
||||||
|
|
||||||
|
echo "### Zip ADMX ###"
|
||||||
|
cd Policies
|
||||||
|
zip -r ../../WAU_ADMX.zip *
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
echo "### Create install counter file ###"
|
||||||
echo "Install counter file." > WAU_InstallCounter
|
echo "Install counter file." > WAU_InstallCounter
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |