Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log of which version was chosen #64

Merged
merged 5 commits into from Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
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
@@ -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
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