Skip to content

Commit

Permalink
Updated workflow file.
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma-axis committed Jul 10, 2024
1 parent b8ef18d commit d0d14f2
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ env:
SOLUTION_NAME: reactive_dlg
# Path to the solution file relative to the root of the project.

TIME_ZONE: Asia/Tokyo
# Time zone for the timestamp when releasing.

permissions:
contents: read

Expand All @@ -28,17 +31,6 @@ jobs:
with:
submodules: recursive

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.platform }}

- name: Compile Detours
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd detours/src
(Get-Content .\Makefile -Raw) -replace 'CFLAGS=/W4 /WX /Zi /MT /Gy /Gm- /Zl /Od','CFLAGS=/W4 /WX /MD /Gy /Gm- /GL /O2' | Set-Content .\Makefile
nmake
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

Expand Down Expand Up @@ -87,7 +79,7 @@ jobs:
- name: Prepare release notes
id: release-notes
run: |
echo "name=${{ github.ref_name }} ($(TZ='Asia/Tokyo' date +'%Y-%m-%d'))" >> $GITHUB_OUTPUT
echo "name=${{ github.ref_name }} ($(TZ='${{ env.TIME_ZONE }}' date +'%Y-%m-%d'))" >> $GITHUB_OUTPUT
echo "### 更新内容" >> ReleaseNotes.txt
phase=0
IFS=$'\n'
Expand Down

0 comments on commit d0d14f2

Please sign in to comment.