Restores from cache, or downloads and caches CMake binaries v3.18.0. Works for x64 on Linux/macOS/Windows.
Flowchart of get-cmake
:
- Restores CMake from cache;
- If cache miss occurred, download and install CMake, then cache it automatically with GitHub's actions/cache;
- Adds to PATH the CMake executables;
# - uses: actions/cache@v1 <-----= YOU DO NOT NEED THIS
# key: <key> <-----= YOU DO NOT NEED THIS
# path: <path> <-----= YOU DO NOT NEED THIS
- name: Get latest CMake
# Using 'latest' branch, the latest CMake is installed.
uses: lukka/get-cmake@latest ⟸ THIS IS THE ONE LINER YOU NEED
# If you need to pin your workflow to specific version you can use the 'tag'.
- name: Get specific version CMake
uses: lukka/get-cmake@v3.17.2 ⟸ THIS IS THE ONE LINER YOU NEED
There are no inputs, nor outputs.
gulp 4 globally installed.
Build with tsc
running:
npm run build
Launch lint
by:
npm run lint
To build, lint validate and package the extension for release purpose, run:
npm run pack
To build, pack and test:
npm run test
To run test directly:
jest
The software is provided as is, there is no warranty of any kind. All users are encouraged to improve the source code with fixes and new features.
All the content, except for the actions/cache directory and its content
in this repository is licensed under the MIT License.
Copyright (c) 2020 Luca Cappa
All content under actions/cache directory is subject to this LICENSE
Copyright (c) 2018 GitHub, Inc. and contributors