Skip to content

Commit

Permalink
update actions version and setup-msbuild version
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Feb 19, 2024
1 parent 669d83b commit a2577c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
BOOST_ROOT: ${{ github.workspace }}\deps\boost_1_83_0
steps:
- name: Checkout last commit
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -36,7 +36,7 @@ jobs:
- name: Cache Boost
id: cache-boost
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.BOOST_ROOT }}
Expand All @@ -49,13 +49,13 @@ jobs:

# add msbuild to PATH
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v2

# cache librime
- name: Cache librime
if: env.librime_build == 'submodule'
id: cache-librime
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
librime
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
Compress-Archive -Path output\*.pdb -CompressionLevel Optimal -DestinationPath .\output\archives\symbols.zip
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
BOOST_ROOT: ${{ github.workspace }}\deps\boost_1_83_0
steps:
- name: Checkout last commit
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -34,7 +34,7 @@ jobs:
# cache boost
- name: Cache Boost
id: cache-boost
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.BOOST_ROOT }}
Expand All @@ -47,7 +47,7 @@ jobs:

# add msbuild to PATH
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v2

# use upper stream released librime files if stable release
- name: Copy Rime files
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Cache librime
if: ${{ github.ref == 'refs/heads/master' && env.librime_build == 'submodule' }}
id: cache-librime
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
librime
Expand Down

0 comments on commit a2577c0

Please sign in to comment.