From 378244fb1acf2bb3fb03c2b9c1938ab90da7c5bd Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 17 Jul 2023 00:05:09 -0700 Subject: [PATCH 1/2] fix: fix the actions path --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ee9648ef..030be842 100644 --- a/action.yml +++ b/action.yml @@ -87,7 +87,7 @@ inputs: runs: using: "node16" - main: "dist/node16/setup-cpp.js" + main: "dist/actions/setup-cpp.js" branding: icon: "award" From 1c504abacedd9365c1e9bc2b18e129413ca5f86d Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 17 Jul 2023 00:05:58 -0700 Subject: [PATCH 2/2] chore: v0.31.1 [skip test] --- README.md | 12 ++++++------ dev/docker/__tests__/arch.dockerfile | 2 +- dev/docker/__tests__/fedora.dockerfile | 2 +- dev/docker/__tests__/ubuntu.dockerfile | 2 +- dev/docker/setup-cpp-arch.dockerfile | 2 +- dev/docker/setup-cpp-fedora.dockerfile | 2 +- dev/docker/setup-cpp-ubuntu.dockerfile | 2 +- package-version.json | 2 +- package.json | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 416ed61f..1a0941ea 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ NOTE: On Unix systems, if you are already a root user (e.g., in a GitLab runner #### With executable -Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.31.0), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools. +Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.31.1), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools. An example that installs llvm, cmake, ninja, ccache, and vcpkg: ```shell # windows example (open PowerShell as admin) -curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-windows.exe" +curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.1/setup-cpp-x64-windows.exe" ./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true RefreshEnv.cmd # activate cpp environment variables @@ -70,7 +70,7 @@ RefreshEnv.cmd # activate cpp environment variables ```shell # linux example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-linux" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.1/setup-cpp-x64-linux" chmod +x ./setup-cpp-x64-linux sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -79,7 +79,7 @@ source ~/.cpprc # activate cpp environment variables ```shell # macos example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-macos" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.31.1/setup-cpp-x64-macos" chmod +x ./setup-cpp-x64-macos sudo ./setup-cpp-x64-macos --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -159,7 +159,7 @@ RUN apt-get update -qq && \ # install nodejs apt-get install -y --no-install-recommends nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools setup-cpp \ --nala true \ @@ -269,7 +269,7 @@ stages: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F .setup-cpp: &setup-cpp | - curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.0/setup-cpp-x64-linux" + curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.31.1/setup-cpp-x64-linux" chmod +x setup-cpp-x64-linux ./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true source ~/.cpprc diff --git a/dev/docker/__tests__/arch.dockerfile b/dev/docker/__tests__/arch.dockerfile index 3caeb25d..8383e89b 100644 --- a/dev/docker/__tests__/arch.dockerfile +++ b/dev/docker/__tests__/arch.dockerfile @@ -8,7 +8,7 @@ RUN pacman -Syuu --noconfirm && \ # install nodejs pacman -S --noconfirm --needed nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools node /usr/lib/setup-cpp/setup-cpp.js \ --compiler llvm \ diff --git a/dev/docker/__tests__/fedora.dockerfile b/dev/docker/__tests__/fedora.dockerfile index 5bf7ab40..0d6390c9 100644 --- a/dev/docker/__tests__/fedora.dockerfile +++ b/dev/docker/__tests__/fedora.dockerfile @@ -6,7 +6,7 @@ COPY "./dist/legacy" "/usr/lib/setup-cpp/" # install nodejs RUN dnf -y install nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools node /usr/lib/setup-cpp/setup-cpp.js \ --compiler llvm \ diff --git a/dev/docker/__tests__/ubuntu.dockerfile b/dev/docker/__tests__/ubuntu.dockerfile index abf4031a..74bb2861 100644 --- a/dev/docker/__tests__/ubuntu.dockerfile +++ b/dev/docker/__tests__/ubuntu.dockerfile @@ -7,7 +7,7 @@ RUN apt-get update -qq && \ # install nodejs apt-get install -y --no-install-recommends nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools node /usr/lib/setup-cpp/setup-cpp.js \ --nala true \ diff --git a/dev/docker/setup-cpp-arch.dockerfile b/dev/docker/setup-cpp-arch.dockerfile index 70d27595..3d2982b9 100644 --- a/dev/docker/setup-cpp-arch.dockerfile +++ b/dev/docker/setup-cpp-arch.dockerfile @@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \ # install nodejs pacman -S --noconfirm --needed nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools setup-cpp \ --compiler llvm \ diff --git a/dev/docker/setup-cpp-fedora.dockerfile b/dev/docker/setup-cpp-fedora.dockerfile index e5f64d1d..60e22abe 100644 --- a/dev/docker/setup-cpp-fedora.dockerfile +++ b/dev/docker/setup-cpp-fedora.dockerfile @@ -4,7 +4,7 @@ FROM fedora:38 as setup-cpp-fedora # install nodejs RUN dnf -y install nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools setup-cpp \ --compiler llvm \ diff --git a/dev/docker/setup-cpp-ubuntu.dockerfile b/dev/docker/setup-cpp-ubuntu.dockerfile index 0e302b60..226a23ad 100644 --- a/dev/docker/setup-cpp-ubuntu.dockerfile +++ b/dev/docker/setup-cpp-ubuntu.dockerfile @@ -5,7 +5,7 @@ RUN apt-get update -qq && \ # install nodejs apt-get install -y --no-install-recommends nodejs npm && \ # install setup-cpp - npm install -g setup-cpp@v0.31.0 && \ + npm install -g setup-cpp@v0.31.1 && \ # install the compiler and tools setup-cpp \ --nala true \ diff --git a/package-version.json b/package-version.json index d5a992b2..1c017945 100644 --- a/package-version.json +++ b/package-version.json @@ -1,4 +1,4 @@ { "name": "setup-cpp", - "version": "0.31.0" + "version": "0.31.1" } diff --git a/package.json b/package.json index 6f4161df..5edf84d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-cpp", - "version": "0.31.0", + "version": "0.31.1", "description": "Install all the tools required for building and testing C++/C projects.", "repository": "https://github.com/aminya/setup-cpp", "license": "Apache-2.0",