summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-05-12 14:13:26 +0900
committerNobuyoshi Nakada <[email protected]>2025-05-12 17:45:39 +0900
commit91375d75796699384c9b44078149ac393462cf45 ()
tree40b353cc3ca1dcba90eca6a1c8f93e93d002b18c
parentd2ffdb108897151d3bcb7e079aa6b0d37c4409fb (diff)
CI: Create proper revision.h on Windows
Notes: Merged: https://.com/ruby/ruby/pull/13304
-rw-r--r--./workflows/windows.yml32
1 files changed, 21 insertions, 11 deletions
@@ -155,17 +155,27 @@ jobs:
- run: nmake extract-gems
# windows-11-arm runner cannot run `ruby tool/file2lastrev.rb --revision.h --output=revision.h`
- - run: |
- Set-Content -Path "revision.h" -Value @"
- #define RUBY_REVISION "8aedb979da"
- #define RUBY_FULL_REVISION "8aedb979da4090116f4fc5a6497f139fd0038881"
- #define RUBY_BRANCH_NAME "win-arm"
- #define RUBY_RELEASE_DATETIME "2025-04-16T23:18:54Z"
- #define RUBY_RELEASE_YEAR 2025
- #define RUBY_RELEASE_MONTH 4
- #define RUBY_RELEASE_DAY 17
- "@
- shell: pwsh
if: ${{ matrix.os == '11-arm' }}
- run: nmake