File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,16 @@ jobs:
219
219
echo "File size (bytes): $SIZE"
220
220
221
221
# Install Chocolatey and yq (for Windows)
222
- if [[ "$RUNNER_OS" == "Windows" ]]; then
223
- Set-ExecutionPolicy Bypass -Scope Process -Force
224
- [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
225
- iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
226
- choco install yq -y
222
+ if ! command -v yq &> /dev/null; then
223
+ echo "yq not found. Installing yq..."
224
+ powershell -Command "
225
+ Set-ExecutionPolicy Bypass -Scope Process -Force;
226
+ [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
227
+ iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'));
228
+ choco install yq -y
229
+ "
230
+ else
231
+ echo "yq is already installed."
227
232
fi
228
233
229
234
# Update the YAML file using yq
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " desktop" ,
3
3
"productName" : " Firefly IOTA" ,
4
- "version" : " 2.1.0-alpha-7 " ,
4
+ "version" : " 2.1.0-alpha-8 " ,
5
5
"description" : " Official wallet application of Shimmer" ,
6
6
"main" : " public/build/main.js" ,
7
7
"repository" :
" [email protected] :iotaledger/firefly.git" ,
You can’t perform that action at this time.
0 commit comments