Skip to content

Commit

Permalink
-echo off
Browse files Browse the repository at this point in the history
  • Loading branch information
boly38 committed Dec 1, 2024
1 parent 79e9f2f commit 1c73980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/try_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
jobs:
build:
# maybe https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
runs-on: windows-latest
runs-on: windows-2022
# runs-on: windows-latest

steps:
- name: Checkout code
Expand All @@ -27,7 +28,6 @@ jobs:
id: package_version
run: |
# Extract the version from package.json and store it as an environment variable
@echo off
for /f "delims=" %%i in ('jq -r ".version" package.json') do set VERSION=%%i
echo Package version is %VERSION%
if not "%GITHUB_REF_NAME%"=="v%VERSION%" (
Expand Down

0 comments on commit 1c73980

Please sign in to comment.