Skip to content

Commit db66fc4

Browse files
authored
Update action.yml
1 parent 41c9947 commit db66fc4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

action.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ inputs:
3636
runs:
3737
using: "composite"
3838
steps:
39-
- if: ${{ inputs.url != "" && inputs.urlarm == "" && inputs.url64 == "" && inputs.urlarm64 == "" && inputs.forcearch == 'false' }}
39+
- if: ${{ inputs.url != '' && inputs.urlarm == '' && inputs.url64 == '' && inputs.urlarm64 == '' && inputs.forcearch == 'false' }}
4040
run: |
4141
$url="${{ inputs.url }}"
4242
$version="${{ inputs.version }}"
43-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
43+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
4444
./wingetcreate-self-contained.exe settings
4545
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
4646
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -50,12 +50,12 @@ runs:
5050
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
5151
./wingetcreate-self-contained.exe update -u "$url" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
5252
shell: powershell
53-
- if: ${{ inputs.url != "" && inputs.urlarm != "" && inputs.url64 == "" && inputs.urlarm64 == "" && inputs.forcearch == 'false' }}
53+
- if: ${{ inputs.url != '' && inputs.urlarm != '' && inputs.url64 == '' && inputs.urlarm64 == '' && inputs.forcearch == 'false' }}
5454
run: |
5555
$url="${{ inputs.url }}"
5656
$urlarm="${{ inputs.urlarm }}"
5757
$version="${{ inputs.version }}"
58-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
58+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
5959
./wingetcreate-self-contained.exe settings
6060
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
6161
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -65,12 +65,12 @@ runs:
6565
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
6666
./wingetcreate-self-contained.exe update -u "$url" "$urlarm" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
6767
shell: powershell
68-
- if: ${{ inputs.url == "" && inputs.urlarm == "" && inputs.url64 != "" && inputs.urlarm64 == "" && inputs.forcearch == 'false' }}
68+
- if: ${{ inputs.url == '' && inputs.urlarm == '' && inputs.url64 != '' && inputs.urlarm64 == '' && inputs.forcearch == 'false' }}
6969
run: |
7070
$url32="${{ inputs.url32 }}"
7171
$url64="${{ inputs.url64 }}"
7272
$version="${{ inputs.version }}"
73-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
73+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
7474
./wingetcreate-self-contained.exe settings
7575
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
7676
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -80,13 +80,13 @@ runs:
8080
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
8181
./wingetcreate-self-contained.exe update -u "$url32" "$url64" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
8282
shell: powershell
83-
- if: ${{ inputs.url == "" && inputs.urlarm != "" && inputs.url64 != "" && inputs.urlarm64 == "" && inputs.forcearch == 'false' }}
83+
- if: ${{ inputs.url == '' && inputs.urlarm != '' && inputs.url64 != '' && inputs.urlarm64 == '' && inputs.forcearch == 'false' }}
8484
run: |
8585
$url32="${{ inputs.url32 }}"
8686
$url64="${{ inputs.url64 }}"
8787
$urlarm="${{ inputs.urlarm }}"
8888
$version="${{ inputs.version }}"
89-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
89+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
9090
./wingetcreate-self-contained.exe settings
9191
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
9292
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -96,14 +96,14 @@ runs:
9696
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
9797
./wingetcreate-self-contained.exe update -u "$url32" "$url64" "$urlarm" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
9898
shell: powershell
99-
- if: ${{ inputs.url == "" && inputs.urlarm == "" && inputs.url64 != "" && inputs.urlarm64 != "" && inputs.forcearch == 'false' }}
99+
- if: ${{ inputs.url == '' && inputs.urlarm == '' && inputs.url64 != '' && inputs.urlarm64 != '' && inputs.forcearch == 'false' }}
100100
run: |
101101
$url32="${{ inputs.url32 }}"
102102
$url64="${{ inputs.url64 }}"
103103
$urlarmhf="${{ inputs.urlarmhf }}"
104104
$urlarm64="${{ inputs.urlarm64 }}"
105105
$version="${{ inputs.version }}"
106-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
106+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
107107
./wingetcreate-self-contained.exe settings
108108
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
109109
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -113,12 +113,12 @@ runs:
113113
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
114114
./wingetcreate-self-contained.exe update -u "$url32" "$url64" "$urlarmhf" "$urlarm64" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
115115
shell: powershell
116-
- if: ${{ inputs.url == "" && inputs.urlarm == "" && inputs.url64 != "" && inputs.urlarm64 == "" && inputs.forcearch == 'true' }}
116+
- if: ${{ inputs.url == '' && inputs.urlarm == '' && inputs.url64 != '' && inputs.urlarm64 == '' && inputs.forcearch == 'true' }}
117117
run: |
118118
$url32="${{ inputs.url32 }}"
119119
$url64="${{ inputs.url64 }}"
120120
$version="${{ inputs.version }}"
121-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
121+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
122122
./wingetcreate-self-contained.exe settings
123123
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
124124
$pathTest = Get-Content $pathToJson | ConvertFrom-Json
@@ -128,14 +128,14 @@ runs:
128128
Copy-Item -Path $env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json -Destination C:\settings.json -PassThru
129129
./wingetcreate-self-contained.exe update -u "$url32|x86" "$url64|x64" -v $version -t "${{ inputs.token }}" -s "${{ inputs.packageid }}"
130130
shell: powershell
131-
- if: ${{ inputs.url == "" && inputs.urlarm == "" && inputs.url64 != "" && inputs.urlarm64 != "" && inputs.forcearch == 'true' }}
131+
- if: ${{ inputs.url == '' && inputs.urlarm == '' && inputs.url64 != '' && inputs.urlarm64 != '' && inputs.forcearch == 'true' }}
132132
run: |
133133
$url32="${{ inputs.url32 }}"
134134
$url64="${{ inputs.url64 }}"
135135
$urlarmhf="${{ inputs.urlarmhf }}"
136136
$urlarm64="${{ inputs.urlarm64 }}"
137137
$version="${{ inputs.version }}"
138-
curl https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
138+
wget https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate-self-contained.exe -O wingetcreate-self-contained.exe
139139
./wingetcreate-self-contained.exe settings
140140
$pathToJson = "$env:LOCALAPPDATA\Microsoft\WindowsPackageManagerManifestCreator\settings.json"
141141
$pathTest = Get-Content $pathToJson | ConvertFrom-Json

0 commit comments

Comments
 (0)