aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:21:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:21:08 +0300
commit23cbeaf2e227bd623bda5c9cc1caea026711aabf (patch)
treea5b78c3e77887b4228f16355b1c3ee3920c5e869
parentREADME: fix a typo (diff)
downloadsetup-gcc-23cbeaf2e227bd623bda5c9cc1caea026711aabf.tar.gz
setup-gcc-23cbeaf2e227bd623bda5c9cc1caea026711aabf.zip
README: update
Diffstat (limited to '')
-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