Skip to content

Commit

Permalink
Update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
myd7349 committed Aug 2, 2023
1 parent 524c37f commit cd8d3b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cppcmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
matrix:
config:
- {name: "ubuntu-latest", os: ubuntu-latest, cmake_extra: ""}
- {name: "windows-x64", os: windows-latest, cmake_extra: "-T v140"}
- {name: "windows-32", os: windows-latest, cmake_extra: "-T v140 -A Win32"}
- {name: "windows-x64", os: windows-latest, cmake_extra: "-T v143"}
- {name: "windows-32", os: windows-latest, cmake_extra: "-T v143 -A Win32"}
- {name: "macOS-latest", os: macOS-latest, cmake_extra: ""}
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: CMake version
run: cmake --version
Expand All @@ -42,7 +42,7 @@ jobs:
run: cmake --build build --config Release -j --target package

- name: Upload Artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
# if: "!startsWith(github.ref, 'refs/heads')"
with:
name: pkg-${{ matrix.config.name }}
Expand All @@ -59,7 +59,7 @@ jobs:

- name: Download Artifacts
if: startsWith(github.ref, 'refs/tags/')
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3

- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit cd8d3b0

Please sign in to comment.