aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index a8147b7..791a1ee 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@ Set up GCC
This GitHub action sets up GCC in your workflow run.
1. Installs either 32-bit or 64-bit GCC on either Ubuntu or Cygwin.
+2. Specify a version to install using the `version` parameter.
2. For installing GCC on Windows please see my action [setup-mingw].
[setup-mingw]: https://github.com/egor-tensin/setup-mingw
@@ -15,8 +16,10 @@ Use it in your workflow like this:
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
+ version: latest
platform: x64
+* `latest` is the default value for the `version` parameter and can be omitted.
* `x64` is the default value for the `platform` parameter and can be omitted.
Use `x86` if you want to build 32-bit binaries.
* Set the `cygwin` parameter to `1` to set up GCC inside an existing Cygwin