diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ef6204..c901850 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,26 +15,26 @@ jobs: publish: true - description: macOS / Xcode os: macos-10.15 - cmakeOptions: "" + cmakeOptions: '' publish: true - description: Linux / GCC os: ubuntu-20.04 - cmakeOptions: "-D CMAKE_C_COMPILER=gcc-10 -D CMAKE_CXX_COMPILER=g++-10" + cmakeOptions: '-D CMAKE_C_COMPILER=gcc-10 -D CMAKE_CXX_COMPILER=g++-10' publish: true - description: Linux / Clang os: ubuntu-20.04 - cmakeOptions: "-D CMAKE_C_COMPILER=clang-12 -D CMAKE_CXX_COMPILER=clang++-12" + cmakeOptions: '-D CMAKE_C_COMPILER=clang-12 -D CMAKE_CXX_COMPILER=clang++-12' publish: false env: BOOST_ROOT: ${{ github.workspace }}/lib/boost BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2/download steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: lfs: true - name: Restore Boost from cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache-boost with: path: ${{ env.BOOST_ROOT }} @@ -58,7 +58,7 @@ jobs: cmake ${{ matrix.cmakeOptions }} .. cmake --build . --config Release --target package - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: binaries path: build/*.zip @@ -76,13 +76,13 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: binaries - name: Create GitHub release draft - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true - files: "*.zip" + files: '*.zip' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}