Skip to content

Commit

Permalink
Add log of which version was chosen (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlawson authored Dec 2, 2023
1 parent 6f89ab7 commit d06b37b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
uses: jwlawson/actions-setup-cmake@v1.14
with:
cmake-version: '3.16.x'
- name: Use cmake
Expand Down Expand Up @@ -66,5 +66,3 @@ executables are provided on the path for subsequent workflow steps.
[version tests]: ./__tests__/version.test.ts
[GitHub API rate limiting]: https://developer.github.com/v3/#rate-limiting
[GITHUB_TOKEN]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret


2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "actions-setup-cmake",
"version": "1.13.1",
"version": "1.14.2",
"description": "GitHub action to setup cmake",
"main": "dist/index.js",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async function run() {
required_version,
all_version_info
);
core.info(`Using cmake version ${chosen_version_info.name}`);

const use_32bits = core.getInput('use-32bit').toLowerCase() === 'true';
const arch_candidates = use_32bits ? ['x86'] : ['x86_64', 'x86'];
Expand Down

0 comments on commit d06b37b

Please sign in to comment.